Update REQ short description and description in Flow Designer

Zack9
Tera Expert

Hi, I'm trying to update the Description and Short Description of a REQ (not RITM).

 

I have a simple catalog item and flow that generates 1 RITM and 1 Task. How can I populate the REQXXXXXXX short description and description fields with catalog variables?

 

Thank you for any tips!

 

 

 

 

1 ACCEPTED SOLUTION

@Zack9 

use Lookup record first on REQ table

You have RITM record so you can get REQ sysId and it will help you query REQ

then use Update Record action

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

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Zack9 

you can use flow step of Update Record

what did you start with?

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

@Ankur Bawiskar I've tried to use a flow step of Update record, but I don't have a data pill for the REQ. To use an update record action - would I have to use a script on the Update Record action in the *record field?

@Zack9 

use Lookup record first on REQ table

You have RITM record so you can get REQ sysId and it will help you query REQ

then use Update Record action

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

Thank you for sending me down the right path. This worked. 

 

For anyone in the future my basic catalog item has the following actions

  1. Get Catalog Variables
  2. Create Catalog Task
  3. Update Requested Item Record (Update Record)
    1. Table - sc_req_item
    2. field - state - (create catalog task > catalog task > state)
  4. Look Up Request Record (Look Up Record)
    1. Table sc_request
    2. condition - sys ID  is  (3 - Update Record - Requested Item Record - request - sysid
  5. Update Request Record (Update Record)
    1. Record (4 Look up record > request record
    2. Table sc_request
    3. Field description - it worked
    4. field short description - it worked