- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 03:23 AM
Hi Team ,
How to copy the variable value ( string field : free text ) from req to sctask field ( description ) using WF .
can anyone please help us her e
Thanks in advnce
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 04:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 03:25 AM
@nameisnani what have you tried so far?
I think using script it can be done, can you please provide more detail of the issue you are facing while trying to achieve this.
Best regards
Suyog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 03:42 AM
I want requested item short description value to be update in SCTASK description field .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 04:10 AM
Hi @nameisnani
What you have done is correct...just update the line in sc-task activity's script.
use "current.variables.<variable_name>"
task.description = current.variables.short_description_2; // as this is variable & not field on form
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 04:07 AM
can you try task.description = current.variables.short_description_2