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

@Jonathan102  can you send screen shot how you did

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

test this also in your condition activity.result == 'skipped'

Hello @BharathChintala : i need some suggestion here what if the approvers are neither approved nor rejected and still in requested state how to give to that condition, As i have requirement where the workflow has to find for certain period if the approver has not taken any action after that period it will auto reject. So i need that condition to be added as Requested, Any suggestion is appreciated.

 

 

Thanks!

@servicenow14710  Your can use timer to give how much time to wait and run script to action you want do

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