How to fix it
- Navigate to
Workflow > Workflow Editorand open the problematic catalog item workflow. - Locate each Create Catalog Task activity and right-click to select
Properties. - Check the
Conditionfield - if it contains logic likecurrent.variables.assignment_group != '', verify the referenced variable actually exists and has a value. - To test the condition, go to
Service Catalog > Requests, open a failing RITM, and run the condition logic in the background script to see if it returns true. - In the task activity properties, verify the
Task typefield points to a validsc_cat_item_guiderecord sys_id. - Confirm the
Catalog itemfield matches your actual catalog item's sys_id from thesc_cat_itemtable. - Check workflow versions by navigating to
Workflow > Administration > Versionsand filtering by your workflow name. - If you see multiple versions, check which one has
Published=true- this is the version actually running, not your draft.
Always publish your workflow after making changes. Draft versions don't run for new requests.
- To publish the current version, go back to
Workflow Editor, right-click the workflow canvas, and selectPublish. - Verify variable values by querying
sc_item_option_mtomtable whererequest_itemequals your RITM sys_id. - Check the
sc_item_option.valuefield for each variable your task conditions depend on - null or empty values will cause condition failures. - If task template is the issue, go to
Service Catalog > Catalog Definitions > Maintain Item Guidesand verify the task type configuration. - Ensure the task template has valid values for
Assignment group,State, and any required custom fields.
Test your fix by submitting a new catalog request and checking if tasks appear in the sc_task table with the correct RITM reference.