- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 04:30 AM
As per the workflow, the secondary approval will be triggered when the variable "Server Name" is mentioned in the RITM and will triggered the approval to owner of the CI or else the approval will be skipped.
But now the secondary approval activity is getting executed and triggering approval to a particular user even when the conditions are not met. It somehow fetching one of the CI and triggering the approval to that owner of the CI.
The server name is not mentioned in the RITM's but when the request is submitted and once the manager approves, it somehow triggering the approval to the owner of that particular CI. couldn't able to figure out how it's fetching that CI even the Server name is not mentioned in the request.
There is no changes in the workflow or workflow versions and also it is working fine in the lower environments.
Please let us know if there's a way to resolve this issue
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2025 01:08 AM
Hello @Tamilvanan T ,
Did you check if you have CI Relationships where the Child is empty? That would be the reason for the issue. As I mentioned before you would need to add a condition that skips the approval when the variable is empty.
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2025 01:08 AM
Hello @Tamilvanan T ,
Did you check if you have CI Relationships where the Child is empty? That would be the reason for the issue. As I mentioned before you would need to add a condition that skips the approval when the variable is empty.
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 06:26 AM
the image you shared is when you push the approver.
did you print what came in server_ci variable in logs?
gs.info('server selected in RITM is' + current.variables.server_ci);
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 06:34 AM
I have checked by adding the info message the "server_ci" variable is empty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2025 12:51 AM
did you add this exact line? share the variable config screenshot
gs.info('server selected in RITM is' + current.variables.server_ci);
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader