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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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%.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
I wonder where are these values, where are they stored? In Space Tools -> Overview -> Document Management -> Parameters I can find only this:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
and2020-09-01
!= 2021-06-17
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've stopped using comala workflow. To much effort. I found better solution for my issues.
Thank you for your help and support.
Best regards, Piotr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.