Question

Business Process Logic

Hi , 

 

I am building a business process that needs a little help. 

My process should send an approval where user will select the approver . Incase the approver rejects the approval should fill the reason of rejection and the user seeking the approval should be  notified about the reason. How can this be created ?

Like

5 comments

Dear Shailey, 

Yo can do it a lot like base process Order approval. First you create auto-generated page where you choose approver (http://prntscr.com/obv7c3), after that you create approval, for example using Add data element (http://prntscr.com/obv7j8). Instead of Order approval you choose the section you want to create approval for and instead column Order you choose your object and record you want to create approval on as it's value. After that you create event-based gateway where you wait for approval to be approved, rejected or canceled (http://prntscr.com/obv89g). If the approval is rejected you read the approval (http://prntscr.com/obv8da) and show a comment on the auto-generated page (http://prntscr.com/obv8m6). 

Best regards, 
Dennis

Dennis Hudson,

Thanks Dennis. It really helped.

After this my next requirement is the person approving the request fills out the rejection reason and the process should use “Open Edit Page” in the “Edit Mode” to display the original record in the context of the user seek the approval containing the rejection notes.

Once the original user makes changes to the record it is resubmitted for approval.

This cycle should continue for 3   iterations. If the approval is not granted after three attempts, the process terminates.

Shailey,

You can pass Notes to Recommendation for filling in the page parameter in Open edit page so that the user would be able to see comment (https://prnt.sc/ocd8el). After that you can just replicate the approval creation 3 times, going straight to terminate if the result of approval is Approved (https://prnt.sc/ocd8o6). 

Best regards, 
Dennis    

Dennis Hudson,

Thanks Dennis ,  I will try that also . One thing I want to know here is the reason why the 'Approval' element is not required in the process ? How will it send the approval without adding the approval element ?

Shailey,

Approval element essentially does the same as adding Approval with Add data element, it just a bit simpler to operate. With Add data we are adding the same object. You can use Approval element instead. 

Best regards,
Dennis 

Log in or register to comment