- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2018 04:43 AM
Hi Everyone,
My requirement is to add another condition like 'Approved' and 'Rejected', called 'Partially-Approved' in the Approval User Activity,
so I have created the condition 'Partially-Approved' in the workflow activity
and added the same in Choices of State field on Approval(sys_approval_approver) table.
And in the condition field added : activity.result =='partially_approved'
Now, when I select approve or reject the workflow goes to the next activity but not when I select Partially Approved in the
approval table record, it gets stuck in the same activity and doesn't proceed.
I am sure I am missing something, I don't know how does the activity.result gets set to the state(like in case of approve and reject)
Can someone please help me on this.
Thanks in advance
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2018 12:04 PM
The workflow approval activity will return Approved or Rejected, regardless of the extra choice.
In your Approval - User workflow activity, you need to switch to a script to monitor results:
Then find the business rule: SNC - Run parent workflows (Approval), and duplicate it.
Change the condition to be: current.state.changesTo('partially_approved')
Test it out

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2019 05:27 AM
Approval Coordinator is a collection of Approval User & Approval Group. The steps in this thread work on Approval User, never got it working on Approval Group, might be a good test.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2020 10:50 PM
Hi Michael,
I have a similar requirement but I need to check in the "Approval Group" activity whether any user has submitted any other state value than approved and rejected. Can you please help me to understand how it would work for "Approval Group" activity in Workflow.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2020 11:03 AM
Can we add current.state == 'approved' in condition does it work ?