Skip to content

Conversation

soerenmaucher
Copy link
Contributor

Adding a generic Flow Designer Action to mitigate a known error. Currently, choice fields cannot be set properly from the data pill since the runtime value used by Flow Designer is the display value and not the actual value. As a workaround, I propose a simple generic Flow Designer Action, that returns the value of any given choice field which can then be used in Flow Designer.

Create the readme.md file for the Flow Action: Get choice field value
Added the Flow Designer Action script for "Get choice field value "
@SapphicFire SapphicFire self-assigned this Oct 14, 2023
Copy link
Contributor

@SapphicFire SapphicFire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - in future, queried like this one could use the .get() GlideRecord method for slightly more compact code. Good work

@SapphicFire SapphicFire merged commit 523c74c into ServiceNowDevProgram:main Oct 14, 2023
@soerenmaucher
Copy link
Contributor Author

Good point. Thanks for accepting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants