- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2022 03:44 AM
Hi I am using below code in one of my BR to check the update condition on task. below is the code which I am using but when I put logs i see that if condition was not matched.
!current.cat_item.u_partner_correlation_id.nil() && gs.getSession().isInteractive()&& current.cat_item.u_partner_name =='XYZ'
I am suspecting it might be due to gs.getSession().isInteractive(). Can you help me with correcting the condition ?
Thanks
Rohan
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2022 03:48 AM
Hi,
You can just log all three in the script part of the BR and remove it from condition to test.
-Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2022 03:48 AM
Hi,
You can just log all three in the script part of the BR and remove it from condition to test.
-Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2022 03:59 AM
sure we can test that will post the outcome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2022 04:17 AM
Hi Anurag,
Thanks for your suggestion actually the issue was with current.cat_item condition BR is on sc_task so this had to be dot walked.
Regards,
Rohan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2022 04:19 AM
So is this answered now? If so then close the thread by marking the appropriate answer as correct.