Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/10/2024 01:12 PM - edited 04/10/2024 01:38 PM
I need a way to differentiate a task based on whether it is a request or a Birthright. I tried to enter in below code for a REST connector but it is giving me below error
\"DataSecurityGroupId\":\"${if(task.source.equals('ZERODAY')) {'EA_CC_TEAM'} else {''}}\"
\"DataSecurityGroupId\":\"${if(task.source.equals('REQUEST')) {''} else {'EA_CC_TEAM'}}\"
What changes I need to do to make sure that it doesn't throw the above error message
Solved! Go to Solution.
04/10/2024 04:00 PM
Can you try arsTasks.source
Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.
04/11/2024 09:57 AM
Thank you, Devang
04/10/2024 07:07 PM
Please share full json and confirm connector type and which JSON is this (ADD/REmove)