JSONPath Expressions within Workflows
Workflows support the RFC 9535 specification for baseline functionality in JSONPath expressions within workflow steps. The workflows framework also contains additional enhancements that further extend capabilities of JSONPath expressions providing functions and expressions that are not part of the original specification.
Note
This implementation is used for all workflow actions and operators. Trigger filters use a different implementation.
Functions
Functions can be invoked at the tail end of a path. The input to a function is the output of the path expression. The function output is dictated by the function itself.
Standard Functions
Functions supported by the original specification.
Function | Description | Output Type | Example |
---|---|---|---|
length() |
Number of elements in an array or string length, depending on the object type. | Integer | $.obj.length() |
count() |
Number of elements in an array or string length, depending on the object type. | Integer | $.obj.count() |
size() |
Value size in bytes (as is). | Integer | $.val.size() |
Extended Functions
Extended functions not part of the original specification.
Function | Description | Output Type | Example |
---|---|---|---|
now() |
Provides an ISO 8601 formatted date and timestamp at time of invocation. | Date | $.now() |
RFC3339() |
Provides a string date in RFC3339 format. This is only applicable to a date that can be formatted to RFC3339. | Date | $.now().RFC3339() |
JSON() |
Provides a raw JSON output for inline variables. | JSON | $.some.item.JSON() → { "property":"value" } |
Documentation Feedback
Feedback is provided as an informational resource only and does not form part of SailPoint’s official product documentation. SailPoint does not warrant or make any guarantees about the feedback (including without limitation as to its accuracy, relevance, or reliability). All feedback is subject to the terms set forth at https://developer.sailpoint.com/discuss/tos.