- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2016 04:42 AM
Hi chuck,
Thank you for the details and actually you have diverted me in the right direction to find the root cause.
In the Workflow Approval scripts, the field ids which we are using is not correct.
The error is,
the field id is - u_subcategory_1
but in the script it was - current.u_sub_category_1
Due to this error it was skipping the approval part. After making changes it was working fine. Which is the approval parts are not skipped.
The script part is,
gr.addQuery('u_category',current.u_category);
gr.addQuery('u_sub_category_1',current.u_sub_category_1); // the high lighted part is wrong.
gr.addQuery('u_sub_category_2',current.u_subcategory_2);
gr.query();
Also I have a query here,
The same script is working fine in the other instance (which is workflow approvals are not skipped and executed properly). Ideally it is not considering the query part which contains the error i think.
Both instances are Geneva version. But when I check the difference between the instances, the one which contains this "patch6-hotfix2-05-18-2016_05-23-2016_1554"
patch is executing the above scripts.
The other instance which does not contains the hot fix, is not executing the scripts.
Is it related to the hotfix or some other reason is there behind.
Please advice me.
Thanks
Prici