Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Comala workflow - state In progress and cannot change it Edited

Good day

I'm testing comala workflow. Sometime when I create a workflow for a page, I put a sample workflow via edit with markup. After this the page has status In progress.

When I click at In progress link, a popup unfolds for a moment, and disappears. The icon near to In Progress link is grey not yellow.

When editing the workflow via Workflow Builder I see that I have only one rule, for example: approval-approved: Review. I don't see neither page-created nor page-updated rule.

Why I cannot change the state of page?

I use sample for this page: https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Comala-Workflow-provide-assignable-approval-with-default/qaq-p/1145287

 

Today I've created two pages with my workflow and both of them work. But yesterday I had similar problem.

Best regards, Piotr

 

1 answer

Ok, I found. There was missing In Progress state. But I don't know why it works for other pages and workflowes.

https://wiki.comalatech.com/display/CWL/Confused+States+-+Grey+Circle

https://wiki.comalatech.com/display/CWL/Status+Indicator+Circles

Hi @piecia 

Apologies for not picking up your post earlier. If you are still having problems please contact our friendly support team at https://support.comalatech.com.

It would be really useful if you could attach your workflow markup as a text file and confirm which version of Comala Document Management (previously known as Comala Workflows) you are running.

Kind regards

James
Senior Product Manager

Hi @James Conway _Comalatech_ 

Below is "not working" version which I found on "my" pages:

{workflow:name=Certificate workflow|updatestatus=true}
{description}
{description}
{workflowparameter:SetReminder|description=The date of expiration for page. Set an earlier date than RealExpiry to get an earlier reminder.|type=duration|edit=true}
2021-06-10
{workflowparameter}
{workflowparameter:RealExpiry|description=Actual expiry date. It'll be posted in the email.|type=duration|edit=true}
2021-06-17
{workflowparameter}
{workflowparameter:recipients|type=user|edit=true}
{workflowparameter}
{workflowparameter:recipients-groups|type=group|edit=true}
{workflowparameter}
{state:Published|final=true|submit=Expired|expired=Expired|duedate=@SetReminder@|requiredparams=SetReminder,RealExpiry}
{state}
{state:Expired|submit=Published|hideselection=true|colour=#ffab00}
{state}
{trigger:stateexpired|state=Published}
{send-email:user=@recipients-groups@,@recipients@|subject=The certificate @page@ will be expired}
The certificate @page@ will be expired soon, at @RealExpiry@. Update it.
{send-email}
{trigger}
{trigger:pagecreated}
{set-metadata:Document Author}@user@{set-metadata}
{trigger}
{trigger:pageupdated}
{set-metadata:Document Updater}@user@{set-metadata}
{trigger}
{workflow}

As I said earlier there was missing In progress state:

{state:In Progress|submit=Published|colour=#ffab00}
{state}
{state:Published|final=true|submit=Expired|expired=Expired|duedate=@SetReminder@|requiredparams=SetReminder,RealExpiry}
{state}
{state:Expired|hideselection=true|colour=#ffab00}
{state-selection:states=Published,In Progress}
{state}

But it's interesting why it works/ed on some pages.

The version of Comala which I use: v.6.7.2, but I'm not sure at 100%.

Hi @piecia 

Two things you could you try:

* Initialize states from the Space Admin dashboard - https://wiki.comalatech.com/display/CDML/Initialize+States

* the Administrator State Override on the pages that are in a confused state - https://wiki.comalatech.com/display/CDML/Administrator+state+override 

Kind regards

James
Senior Product Manager 

Hi @James Conway _Comalatech_ 

I have yet another question.

I use this template for various pages but with changed parameters in the template:

{workflowparameter:SetReminder|description=The date of expiration for page. Set an earlier date than RealExpiry to get an earlier reminder.|type=duration|edit=true}
        
2020-08-01
{workflowparameter}
{workflowparameter:RealExpiry|description=Actual expiry date. It will be posted in the email.|type=duration|edit=true}
        2020-09-01
{workflowparameter}

After creating an empty page I add new workflow. I paste markup definition, with those parameters, click save.

But when I click edit parameters I see:

Screen Shot 2020-09-17 at 13.09.55.png

I wonder where are these values, where are they stored? In Space Tools -> Overview -> Document Management -> Parameters I can find only this:

Screen Shot 2020-09-17 at 13.13.11.png

Why do the parameters have a different value? Why aren't values used from markup definition?

Is it possible not to give values for the parameters but to use some function e.g. now()?

Kind regards

Hi @piecia 

I will investigate why you are seeing 'undefined' on that screen.

If you want to set the value of your parameter based on a duration from 'now', I suggest you look at using a 'Period' value for your workflow parameters, e.g. in the Workflow Builder:

cdm_wfb_editparameter_panel

For more detail on editing workflow parameters in the Builder, see https://wiki.comalatech.com/display/CDML/Edit+workflow+parameters+using+workflow+builder

If you prefer to edit using workflow markup, see https://wiki.comalatech.com/display/CDML/Expiry+Dates

 

Kind regards

 

James
Senior Product Manager

Good day

I was wondering if it is possible to fill workflow with generic data. As for example for a parameter of the string type, taking the current date. So I talked about "now()".

I've created a template which I only paste in new pages. If I omit value for parameter RealExpiry or SetReminder I get error:

Error in workflow markup:

workflow: The value of [Ljava.lang.Object;@5d52a5c5 ({1}) is not a valid time period

I have to use duedate option instead of others.

Those undefined values are visible only under Space Tools and I don't have always access to that place. But I'm more curious where the parameter values come from the first time they are set.

2020-08-01 != 2021-06-10
and
2020-09-01 != 2021-06-17

Hi @piecia 

I think we need some more details about your workflow and templates than is appropriate to share here.

Could you create a support ticket at https://support.comalatech.com/ so we can help you further, it would be really helpful if you attach your workflow markup.

Kind regards

James
Senior Product Manager

Like piecia likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

New Cloud Apps Roundup - April 2021

Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...

263 views 3 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you