Variables not reflecting in SC task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 06:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 06:50 AM
Hi @GBS ,
Do you have Catalog UI Policies, Catalog Client Scripts used. If so, look for Applies to Target record, Applies to Catalog item, Applies to Catalog Task checkboxes are checked or not. You can try checking/unchecking those boxes save the policies then & then look for results.
If you are trying to add from workflow activity use below approach:
(Out-of-the-box) When doing this manually, you would usually on a Catalog Task step, add variables from the left to the right column. The relation behind this is actually stored in table: sc_item_variables_task.
So if wanting to create variables scripted. And having them displayed also on the Catalog Task... you also need to script the relation to table sc_item_variables_task.
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth Meda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 07:06 AM
Hi @Sumanth16,
I was able to see the variables on the top of the worknotes but not at the bottom. Please refer to the attached screenshots
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 07:18 AM
It may be difficult to get an answer here because that bottom variables section you have on the form after the work notes isn't OOB functionality. What goal are you trying to accomplish by having the variables there rather than in the normal SC Task variables section?
Are these variables at the bottom being populated when you submit a different catalog item? Can you try comparing workflows between the working and non-working catalog items to see if that section is using a script or something in the flow to populate it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 08:18 AM - edited 03-04-2024 08:18 AM
Hi @GBS ,
You can create Sections and add the Variables in that section then it will look something like below,
Right click on record -> Configure -> Form Design
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang