How to change status from Pending to Approve/Reject

Confluence User - 13 Oct, 2021

Hi. I am currently creating a form that needs an approval of the HOD. Once the form has been submitted, the status should be Pending. Then, once the HOD has approve or reject the request, the value of 'status' should change to either Approved or Rejected based on the choice.

Based on my research, I have create a hidden field status with default value "Pending". Then I have created another workflow variable called status1 that hold values Approve and Reject. How do I link the two? 

Thank you in advance

forms;datalists

2


13 Oct, 2021
confluenceUser
confluenceUser

Hi Danial,


Actually for approval status, you don't need hidden field.

How you set the approval decision? if you use radio button or selectbox

There's a workflow variable field on Advanced Options tab.

fill with exact same variable (case sensitive) with the one you declared on workflow design.

and don't forget, the value on the options have to be exactly same with the route one the workflow design also.


Hope it helps.

13 Oct, 2021
confluenceUser
confluenceUser

Hi Yonathan,

Thank you for your reply. 


How you set the approval decision? Answer: Radio button.


For reference my Process:

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print