The CreatorCon Call for Content is officially open! Get started here.

Workflow Conditions for Group Approvals

Jonathan102
Tera Guru

Hi all,

 

I am working on a workflow activity (Approval - Group) and I am hoping someone can help out.  As far as I know, we have not modified the approval process from OOB and we are currently in Tokyo.  When opening an approval request, there are eight State choices to select from:

  • Not Yet Requested
  • Requested
  • Approved
  • Rejected
  • Cancelled
  • No Longer Required
  • More Information Required
  • Duplicate

However, the only two that actually meet any conditions in the activity of the workflow are Approved and Rejected.  If you select Cancelled, the workflow doesn't move past the activity and the REQ/RITM stay active/waiting for approval. 

 

I modified the Reject workflow condition to include an OR activity is cancelled:  activity.result == 'rejected' || activity.result == 'cancelled'

Adding this condition did not make any difference.

 

I have also tried to add a new workflow condition for cancelled and set it up similar to the approved/rejected but it doesn't work either.

 

Thanks in advance for any input.

 

Thanks,

Jonathan 

 

8 REPLIES 8

BharathChintala
Mega Sage

@Jonathan102 in approval group activity scroll down to related links

 

BharathChintala_0-1677865666041.png

if you click it, It will show 2 options for you like approved and rejected

still you can add more with other options like below

BharathChintala_1-1677865735574.png

Out put will be like this

BharathChintala_2-1677865757679.png

 

If my inputs have helped with your question, please mark my answer as accepted solution, and give a thumb up.
Bharath Chintala

Thank you so much for the input.  I do not have any script in my activity like I am seeing in your first screen shot, should I add this to mine?

@Jonathan102  
No need just define other options. 

If my inputs have helped with your question, please mark my answer as accepted solution, and give a thumb up.
Bharath Chintala

Thanks Bharath.  Maybe I should open a SN ticket because I've added/defined the other options and it still doesn't work.