gs.getSession().getClientData() is not accessible from Catalog Task activity of Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2023 09:53 AM
I have written a code of gs.getSession().putClientData() in a script include and updated the parameters with proper values which I actually need in Catalog Task activity Advanced script of a Standard Workflow to create a SC Task for a catalog item but Receiving "null" as value all the time.
Any help on this is very much appreciated.
Thank you

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2023 02:56 AM
Hello @BalaK5
I do not think it is good way to use getClientData() in workflow as sessions with which workflow runs keeps changing dynamically. Means imagine you have set some client data to current session at the initial stage of the workflow run script, then if there is any approval triggered and any user approves it, the workflow is now run with that user reference.
I think similar issue is happening in your case as well.
Thanks,
Ali
Thank you,
Ali