Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Flow designer get current action fields

Maxime
Tera Contributor

Hello Team,

 

I was wondering how is it possible to get by code, the short description field of my current action in the description field ?

Maxime_0-1709140357869.png

Thank you for your advise

 

1 ACCEPTED SOLUTION

Hi @Maxime,

 

Right, I see what you are trying to do. I don't think you can use 'current' or any of the objects here as the record/reference hasn't been created yet.

One workaround I can think of is to use a Flow variable and use it across both of the short description and description fields.

 

Cheers

View solution in original post

8 REPLIES 8

Hi @Maxime,

 

Right, I see what you are trying to do. I don't think you can use 'current' or any of the objects here as the record/reference hasn't been created yet.

One workaround I can think of is to use a Flow variable and use it across both of the short description and description fields.

 

Cheers

Hi,

 

Yes this it, this is the best workaround that I have imagined. But I am disappointed to see that there is no equivalent to the workflow editor.

 

Thank you for the conversation

Josh Pirozzi
Kilo Sage

Hi @Maxime ,

You could always try:

  • Catalog Task Created
  • 'Wait for XX amount of time' Step
  • Look up Catalog Task Record (where SysID is SysID of the Created Catalog Task)
  • Update Record Step where you can now Dot Walk / Write the Short Description into the Description 

 

Hope this helps!

Josh Pirozzi

Hi @Josh Pirozzi,

 

Thank you, in fact this is a workaround possible, but a little bit loud against to create a flow variable to use.

 

Best