Ankur Bawiskar
Tera Patron

@AleshKumarK 

check this link if it helps

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

If my response helped please mark it correct and close the thread so that it benefits future readers.

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