Using an input schema with the flow
Flows can receive input parameters when invoked. It is good practice to configure the flow to validate input provided by users. Associating an input schema with the flow achieves input validation to ensure that the flow only allows input that meets your data criteria.
The following sample shows the request body for a /start request that uses input schema values in a user profile update flow. If input schema properties are designated as required, the flow invocation needs to pass in the required parameters to start the flow.
{
"hostname": "bxhealth.devops.com",
"dn": "uid=testpatient,ou=People,dc=bxhealth,dc=org",
"modifications": [
{
"attributeName": "givenName",
"modificationType": "set",
"values": [
"PatientFirst"
]
},
{
"attributeName": "sn",
"modificationType": "set",
"values": [
"PatientLast"
]
}
]
}