Flow Designer - Setting check box variable value to false on RITM if the approval is rejected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 08:15 AM - edited 06-27-2024 08:25 AM
Hi Everyone,
I have a requirement to set the variable "approve" type check box to be "unchecked" When the approval is rejected.
Could anyone please help me?
FYI
I tried this solution but it didn't help me and this script too
(function execute(inputs, outputs) {
inputs.ritm.variables[inputs.myvar] = inputs.myvalue;
inputs.ritm.update();
})(inputs, outputs);
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2024 01:08 AM
Hello @MR1 ,
Please refer below articles and follow each and try each and every scenarios:
https://www.servicenow.com/community/now-platform-articles/set-value-of-a-catalog-variable-at-flow-d...
Your steps need to be similar to below steps:
1. trigger - service catalog
2. or lookup on RITM
3. get catalog variables - to select the required variables to set.
4. if condition for approval = rejected using ref of 1st or 2nd step.
5. action
6. call action
7. update RITM record
If my solution helps you any way then mark it as accepted and helpful.
Thank You!!
Thank you!!
Dnyaneshwaree Satpute
Tera Guru