Setting up a data quality control to check new pricing data for outliers
"name": "iqrQuoteRangeEndDate",
"type": "DateTime"
}
],
# Define the default state a task should enter upon creation and any required input parameters to successfully reach this state
"initialState": {
"name": "Pending",
"requiredFields": [
"portfolioScope",
"portfolioCode"
]
},
# Define any triggers which can cause a state transition to occur in this part of the workflow
"triggers": [
{
"name": "start",
"trigger": {
"type": "External"
}
},
{
"name": "noExceptions",
"trigger": {
"type": "External"
}
},
{
"name": "exceptionsFound",
"trigger": {
"type": "External"
}
},
{
"name": "resolved",
"trigger": {
"type": "External"
}
}
],
# Define all the state transitions which can occur in this part of the workflow, including for each transition:
# - The states the task should move from and to.
# - The trigger that causes the transition to occur.
# - Any guard conditions which must be met in order for the transition to complete.
# - Any actions which should be taken upon completion of the transition.
"transitions": [
{
"fromState": "Pending",
"toState": "InProgress",
"trigger": "start",
"action": "quote-outliers-check-worker"
},
{
"fromState": "InProgress",
"toState": "Exceptions",
"trigger": "exceptionsFound"
},
{
"fromState": "Exceptions",
"toState