Hello,
I have a workflow like this:
Start ---> Review --(approve)--> Task1 ---> End
Review --(reject)--> Task2 ---> End
In the Review task, I have a mandatory association field which is require the value of assignee passing to Task1 when approve, but this value is not useful for Task2 and it is no reason for user to input when it is going to Task2 flow when reject.
How can I continue the flow if user is reject without input the mandatory association field?
Thanks!
Following is the snippet of the model:
<associations>
<association name="mandy:supervisor">
<title>supervisor</title>
<source>
<mandatory>true</mandatory>
<many>false</many>
</source>
<target>
<class>cmerson</class>
<mandatory>true</mandatory>
<many>false</many>
</target>
</association>
</associations>
BR,
Mandy
Hello, Anyone know or can give some idea about this issue?
I am really stuck on this case, any advise are highly appreciated
Thanks!!!
BR,
Mandy
Mandy,
This doesnt look like a process servies/activiti code excerpt.
If you are using the embedded version of activiti (embedded in ECM) then you should open the question on the ECM forum.
As for how to handle this at a conceptual level.
The fact that the reviewer is only mandatory if you choose a particular outcome means it really isnt mandatory.
I would not set the assignee field to be mandatory, rather I would only enable the review button if a user is selected.
That way, only reject can be selected unless a reviewer is selected.
Hope this helps,
Greg
Great thanks to Harley,
that's approach what I am looking for...
May I know how can I do this by enable the review button if a user is selected?
In case, I am using alfresco sdk2.0 by eclipse for my development on workflow,
Any reference that can let me follow or example to let me know more about this?
Many thanks for your kindly advise!!!
BR,
Mandy
hello, anyone know how to check if the assignee has assigned value before clicking the approve button?
Thanks so much!
BR,
Mandy
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.