Attribute Collection Stage
The purpose of this stage is to collect managed object properties to insert into the user profile. The list of properties to be collected is defined as part of the configuration.
This stage updates the managed object directly, and checks whether attributes are required. If required attributes are not provided, the stage returns the list of requirements again. This stage can throw an exception if there is an error attempting to save the updated attributes.
- Example configuration
{ "name" : "attributecollection", "identityServiceUrl" : "managed/user", "uiConfig" : { "displayName" : "Add your telephone number", "purpose" : "Help us verify your identity", "buttonText" : "Save" }, "attributes" : [ { "name" : "telephoneNumber", "isRequired" : true } ] }
- Dependencies
No dependencies on previous or following stages. This stage can occur anywhere in a process.
- Required Parameters
identityServiceUrl
- the managed object type on which this stage actsuiConfig
- how the requirements list is conveyed to an end userattributes
- the array of attributes to be collected. For each attribute, theisRequired
parameter indicates whether the attribute is mandatory for the stage to proceed.