Record field765 to json format #198
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This custom Flow Designer action converts selected fields from any ServiceNow record into a JSON-formatted string. It’s perfect for API integrations, logging, or sharing structured record data with external systems.
By dynamically extracting field values — including reference fields, choice fields, and date/time fields — it produces human-readable and API-ready JSON in a consistent format.
How It Works
Accepts a table name, record sys_id, and optional list of fields to include.
Automatically fetches field values:
Reference fields → returns the display value
Choice fields → returns the selected choice label
Date/time fields → formatted as ISO-style strings
All other fields → raw value
Converts the collected values into a pretty-printed JSON string.
Returns the JSON string as an output variable, ready for use in subsequent Flow Designer steps or external API calls.