Workflow Task Activity - Some variables not moving to selected list.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2017 10:50 AM
I have a big service catalog form. When I added catalog task activity to the workflow, only some variables moved to the selected side, while some still sitting on the available column. I need all my variables to move to the selected column. I see this issue first time. Why this issue occurring?
As a part of troubleshooting, in the variables related list, I made sure all the container starts have equal container ends.
No deactivated variables.
All UI Policies have the right variables.
How else can I troubleshoot?
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2017 10:04 AM
Got this solution from Servicenow. Hope this will help someone looking to resolve this.
Reason: The max length for the field "Variables on task form" is 4000.
Issue: Unable to add all the available variables on Task Form in a Workflow.
Solution Proposed: The max length for the field "Variables on task form" is 4000.
- Need to be an admin inorder to modify the changes on the record.
- Please increase the "max length" field value so that you can add all the variables on the catalog task.
See the screenshot, I increased to 10,000 and then it displayed all the variables on catalog task form.
Note: Please note that after increasing the value and in the future if you decrease the value you will loose the data.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2019 10:56 AM
Problem with this post is it does not tell you where that form is found.
I found the details here: https://community.servicenow.com/community?id=community_question&sys_id=a5068761db1cdbc01dcaf3231f9619f9
Here are the steps and an issue I ran into:
1) Workflow Application --> Activity Definitions
2) Search for 'Catalog Task' under the Name column and open the record
3) Scroll down to the 'Activity Variables' related list and select the 'task_variables' record under the 'Column Name' column
4) *Once the form is opened you should see the field 'Max Length' if you do increase from 4,000 and save.
-- I was unable to see the field and even verified under the form designer and form layout that it was supposed to be visible on the form. My work around was to go back to the 'Catalog task' (step 2) and add the 'Max Length' column to the related list. From there I was able to successfully update the value from 4,000 to 10,000.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2024 01:54 AM
Thank you! it was really helpful.