- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 10:01 AM - edited 06-07-2024 10:08 AM
Hello,
I need to map variables to description on Catalog Task but I tried using scripted option but keeps erroring out. What is the syntax for this. Any assistance is appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 09:15 PM
Hi @purdue could you please also check the semicolon at the line 3. I missed it. it should be like below
var desc = [];
Let me know if it is working or will find another solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 12:23 PM
Hi purdue,
If you flip thing around, you should get what you need.
var someValue = g_form.getDisplayValue("<field name">);
I set up a simple select box on a form and when I queried its value as shown above it worked fine.
:{)
Helpful and Correct tags are appreciated and help others to find information faster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 01:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 01:45 PM
Can you share your complete catalog client script, including the header information? Where are you running it (Service Portal, EsC, UI16)?
:{)
Helpful and Correct tags are appreciated and help others to find information faster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 03:23 PM
It is the script portion of catalog task description field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 03:26 PM
In a subflow. Thanks