How do you update Short Description on the REQ table from Flow?

Brian Sorensen
Giga Guru

We have an IT Adhoc catalog item

Part of that request includes the user putting in a project title.  We want to use that project title for a few things.  Here is what I am have done and am trying to do

  1. User enters a project title
  2. Flow takes that project title and in the catalog task uses it for the short description
  3. It also takes that project title and makes it the short description of the RITM

This is great, BUT

I need it to also use it to update the REQ with the title as the short description

 

Example

I created a request

SCTASK - Short Description is the project title
find_real_file.png

The RITM shows it to
find_real_file.png

but the REQ table doesn't

find_real_file.png

 

Is it possible to update using Flow?

1 ACCEPTED SOLUTION

Yes, you are almost there, you need to do an additional dot-walk step as shown below

 

find_real_file.png

View solution in original post

9 REPLIES 9

Bharath kumar6
Tera Expert

Hi,

You can write the code:

 var gr = new GlideRecord('sc_request');

gr.addQuery(number,current.request);

gr.query();

if(gr.next())

{

gr.short_description = "this is a test short desc";

gr.update();

 

 

 

or

 

Add set value activity 

 

find_real_file.png

}

for set value activity

1. Choose Show Reference fields  --> Next "Request"  --> Next Short description

This looks like Workflow?

But, I need to use Flow Designer if possible

Would this be creating a new Action?

Gabor10
Mega Guru

You should be able to Use the Update Record action and use the data pills to fetch the REQ record