how to add approval states other than approve or reject in workflow????

suprakash
Giga Expert

I have added a state in sysapproval_approver named review

I have attached an image in which you can see that I have added a state named review in the aproval activity.   when i am changing state in approval table to Approved or rejected the flow is going fine in the workflow. But the problem is when i am changing the state to review the flow is not working .

I given the condition in the workflow activity for state review activity.result == 'reject-review'

'reject-review' is the value of the state   review that I added in approval table

1 ACCEPTED SOLUTION
11 REPLIES 11

Question related to your statement. I have created an extra condition called "rework". Once an approval is flagged as rework, I would like for the workflow to generate a new set of the same approvals. The workflow currently circles back to the same group approval if it meets this condition.  I would like for one record to be marked as rework and the others no longer required similar to rejected approvals.  

The issue I encountering now is that only the rejected record is marked as rework but the previous requested approvals are not marked as no longer required.  How can I apply the same logic of rejected approvals to a new condition.  

 

Thanks in advance.

 

Ernie C

 

Hi Jake,

Is there anything else that's required to get this to work?  I've completed both of these steps but when the new approval state is selected the 'Approval - User' Activity is not processing the result and just remains with a state of 'Running'

 

find_real_file.png

find_real_file.png

find_real_file.png

Thanks,

Robin

Robin, 

 

We need to add a business rule in sys_approval table to trigger the workflow. 

I assume that the Business Rule 'Nudges' the Requested Item Workflow then the sys_approval record is updated?

Regards,

Robin

Bosco Sahayaraj
Mega Contributor

Team, I am facing this same issue. Can some one help me with the new links.