Visibility of variables in Variable Editor on Catalog Task when navigated via New button

VipulM068601172
Tera Contributor

I want to make variables in Variable Editor isibile on Catalog Task when navigated via New button (in new mode) from related list.
I also checked the form layout and Variable Editor is included and displayed correctly when the task are created via flow but while creating manually via related list the Variable Editor is shown for few records and not for all records having Variable associated to RITM.
Can someone help me on this?

 

1 REPLY 1

Ankur Bawiskar
Tera Patron

@VipulM068601172 

manual tasks don't get the associated Variables directly.

Why are you allowing manual catalog tasks ? Not Recommended practice

In which case it's seen? share screenshots

You need to add entry into table "sc_item_variables_task" and link those variables to this task. You can use after insert BR on sc_task for this 

check this link for the same approach

Adding Variables to a Task via a script instead of using the slush bucket within a workflow for a Ca...

AnkurBawiskar_0-1770274044054.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader