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.

About Slack Spoke PostMessage in FlowDesigner

Kentaro Numata
Tera Guru

Happy New Year, It's Ken.

 

I have a question about Slack Spoke PostMessage in FlowDesigner.

We are using Slack Spoke when a record is created.

The poster's location is displayed in the notification text.

Location has two types: a reference column (cmn_location) and a String column.

Displays a String column when "Other" is selected in the reference column (cmn_location).

 

So here's a question.

Is it possible to display a String column only when "Other" is selected for Reference column (cmn_location)?

I would like to see some implementation examples such as scripts.

スクリーンショット 2024-01-15 10.55.09.png

 

Thanks,

Kentaro.

1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

@Kentaro Numata 

 

if you need to send a value based on any condition you have to prepare that value before, for example in a Flow Variable.

 

Please watch the following video to understand what Flow Variables are: https://www.youtube.com/watch?v=EOhf8f_IgfA

 

For filling that Flow Variable you can leverage an if-then-branch, or you implement it in an inline script (see https://docs.servicenow.com/bundle/vancouver-build-workflows/page/administer/flow-designer/concept/i... )

 

Unfortunately I cannot provide you an example as I'm not in your instance and also your provided details are not sufficient.

 

Maik

View solution in original post

1 REPLY 1

Maik Skoddow
Tera Patron
Tera Patron

@Kentaro Numata 

 

if you need to send a value based on any condition you have to prepare that value before, for example in a Flow Variable.

 

Please watch the following video to understand what Flow Variables are: https://www.youtube.com/watch?v=EOhf8f_IgfA

 

For filling that Flow Variable you can leverage an if-then-branch, or you implement it in an inline script (see https://docs.servicenow.com/bundle/vancouver-build-workflows/page/administer/flow-designer/concept/i... )

 

Unfortunately I cannot provide you an example as I'm not in your instance and also your provided details are not sufficient.

 

Maik