if condition is not working in script inlcude
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 02:04 AM
Hello,
I am calling script include from Reference qualifier,
My requirement is if logged in user is manager, then only his name has to be showed in the Requested for variable,
if logged in user is Not manager, then his name and his reportees should be displayed in the Requested for variable,
Even though the condition matches at line no 27, log message of 28th line is not getting executed.
Could you please anyone help on it.
Thanks,
Anus.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 09:15 PM
Hello @Anusha Anus,
Please refer to the link below:
https://www.servicenow.com/community/developer-forum/if-condition-not-working-in-script-include/m-p/...
Mark my correct and helpful, if it is helpful and please hit the thumbs-up button to mark it as the correct solution.
Thanks & Regards,
Abbas Shaik