Request should not be approved when mandatory fields are not filled in change request form

stene
Kilo Contributor

Hi everyone,

We have a requirement, where change approval request should not be approved when mandatory fields are not filled in Change Request form. 

Can anyone help me here , how can i achieve this.

Thanks inadvance,

Sandhya

9 REPLIES 9

Jaspal Singh
Mega Patron
Mega Patron

Hi Stene,

 

You need to create an before Update business rule that runs on Approval (sysapproval_approver) table with condition as

State | Changes to | Approved

Approval For. Task Type | is | Change request

Approval For. Field1 | is empty

Approval For. Field2 | is empty

where Approval For.Field1 & Approval For.Field2 are dot-walked field from Change request table

 

While in the Actions tab you need to set Add Message to True with Text

Mandatory fields needs to be filled.

 

Hi jaspal,

 

I tried the above the scenario, but it didnt work, change request is getting approved.

 

 

Hi Jaspal,

Thanks, this scenario worked and i have selected "Abort action" as true along with the above scenario. It worked.

Thanks,

Sandhya

Glad to know you got it working.

Kindly close the thread by marking appropriate answer correct so as to get it removed from unanswered list & help future readers to find solution quickly.