In Flow Designer, for order task i want to auto populate assign to field is current logged in user

nidhi40
Tera Contributor

Hi All, In Flow Designer, for order task i want to auto populate assign to field is current logged in user. any one help me on that.
Thanks

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@nidhi40 

Please discuss with your customer what do they mean by logged in user

are they referring to the user who raised the RITM?

if yes then do this

return fd_data.trigger.request_item.request.requested_for;

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

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

View solution in original post

13 REPLIES 13

@nidhi40 

then the user who initiated the session would be the Request submitter

so please use the script I shared

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

Hi Ankur,

Not the RITM, it's a Product order tasks 

Ankur Bawiskar
Tera Patron
Tera Patron

@nidhi40 

Please discuss with your customer what do they mean by logged in user

are they referring to the user who raised the RITM?

if yes then do this

return fd_data.trigger.request_item.request.requested_for;

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

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

Hi Ankur,

For produclt order task is  created assigned to field is auto populate current logged in user