Hi,
my question is about Comala Workflows. We have a page template including a table for some page properties. The user should fill in all values before the page can be approved. Is it possible to set the page properties as mandatory fields?
Thanks in advance,
Bettina
Hi Bettina,
As William suggested(thanks William!), we can provide the best support through our support portal as depending on the tags used we don't always see questions posted on Answers.
That said, something like this should do the trick:
{approval:Approval|@PAGE PROPERTY 1@=@empty@|@PAGE PROPERTY 2@=@empty@}
which will keep the approval disabled(no approving/rejecting/assigning) until all the page properties are set to a non-empty value. We can also check if the pageproperty has user mentions or not with "usersdefined
=@PAGE PROPERTY 1@, @PAGE PROPERTY 2@".
GIve that a try and let us know if that works for you.
Thanks,
Miguel
Hey Bettina,
Comala has their own support channel, I think there's more chance to get an answer from an official agent there:
https://comalatech.zendesk.com/hc/en-us
I hope this helps.
Cheers,
WZ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Team,
Can we mandatory a comment box in Comala Workflow so that approver when reject or Approve a page they won't be missed out mention the reason.
Thanks,
Rashmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I managed to get it working by setting @empty@ to a blank value
{set-metadata:empty}@Vorname@{set-metadata}
To enforce it is not empty, you need to negate it.
{approval:RequiredFields|@Vorname@=!@empty@|@Nachname@=!@empty@}
Actually the better solution will be to use usersdefined condition
{approval:RequiredFields|usersdefined=@Vorname@,@Nachname@}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Miguel,
thank you for your help. I tried what you suggested, but unfortunately, it does not work properly.
My simple test workflow looks like this:
{workflow:name=SimpleWorkflow|label=simpleworkflow} {state:Draft|approved=Finished} {approval:RequiredFields|@Vorname@=@empty@|@Nachname@=@empty@} {state} {state:Finished} {state} {workflow}
I have a page template with two page properties ("Vorname" and "Nachname"). When I create a new page using the template, its status is "Draft". The approval is possible and changes the status to "Finished", even though the required fields are empty.
(Confluence 5.8.6, Comala Workflows 4.8.0.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.