We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Script workflow Activity

Devika
Tera Expert

What is the best practice other than using current.update() in script workflow Activity .

1 ACCEPTED SOLUTION

Chaitanya ILCR
Giga Patron

Hi @Devika  ,

you don't have to use current.update() in the runscript activity in the workflow

you can just set current.short_description = 'test'  (taken short_description as an example here )

no current.update is required

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

View solution in original post

1 REPLY 1

Chaitanya ILCR
Giga Patron

Hi @Devika  ,

you don't have to use current.update() in the runscript activity in the workflow

you can just set current.short_description = 'test'  (taken short_description as an example here )

no current.update is required

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya