How to compare table form data and current catalog form variables data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 05:29 AM
Hello All,
In workflow if activity i am trying to check current catalog form variables and table data .
If table data is not is equal to catalog variables data then i need to trigger an approval by using approval activity.
I am using below script but it is not working
What i am missing in above script..
Thanks in advance
Best Regards,
Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 05:34 AM
Hello @raj149
You are not passing sys_id of the record.
gr.addQuery('sys_id', 'sys_id'); // please pass sys id here
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 05:41 AM
Hello @Harsh_Deep
How can i pass the sys_id of the record
gr.addQuery('sys_id',BA.sys_id);
or is there any other way...?