{ "Version": "2019-10-30", "StartAction": "92e56bce-11d6-4f65-a3b5-e1d5f2f19588", "Metadata": { "entryPointPosition": { "x": 40, "y": 40 }, "ActionMetadata": { "92639e8b-df91-4868-b38e-612c84671cee": { "position": { "x": 1321.6, "y": 66.4 }, "parameters": { "ViewResource": { "Id": { "displayName": "Confirmation" } }, "InvocationTimeLimitSeconds": { "unit": 1 }, "ViewData": { "AttributeBar": { "useJson": true }, "Graphic": { "useJson": true }, "Next": { "useJson": true } } } }, "92e56bce-11d6-4f65-a3b5-e1d5f2f19588": { "position": { "x": 246.4, "y": 193.6 } }, "43c9cb8f-08ff-4636-ad02-615b70afbbe0": { "position": { "x": 931.2, "y": 600 } }, "03c6468b-6399-4c73-81b8-7cd407ad61b5": { "position": { "x": 1014.4, "y": 77.6 }, "dynamicParams": [] }, "a1894df8-5034-45b4-a452-2b4a0537b9ed": { "position": { "x": 508.8, "y": 114.4 }, "parameters": { "ViewResource": { "Id": { "displayName": "Form" } }, "InvocationTimeLimitSeconds": { "unit": 60 }, "ViewData": { "Sections": { "useJson": true }, "Cancel": { "useJson": true } } } } }, "Annotations": [], "name": "Disposition Flow", "description": "", "type": "contactFlow", "status": "published", "hash": {} }, "Actions": [ { "Parameters": { "ViewResource": { "Id": "arn:aws:connect:us-east-1:aws:view/confirmation:1", "Version": "Latest" }, "ViewData": { "Heading": "Disposition set successfully", "AttributeBar": [ { "AutoOpen": false, "Label": "Attribute1", "Value": "Value1", "Copyable": false }, { "AutoOpen": false, "Label": "Attribute2", "Value": "Value2", "Copyable": false }, { "AutoOpen": false, "Label": "Attribute3", "Value": "Value3", "Copyable": false }, { "AutoOpen": false, "Label": "Attribute4", "Value": "Value4", "Copyable": false } ], "Graphic": { "Include": true }, "Next": { "Label": "Done" } }, "InvocationTimeLimitSeconds": "30" }, "Identifier": "92639e8b-df91-4868-b38e-612c84671cee", "Type": "ShowView", "Transitions": { "NextAction": "43c9cb8f-08ff-4636-ad02-615b70afbbe0", "Conditions": [ { "NextAction": "43c9cb8f-08ff-4636-ad02-615b70afbbe0", "Condition": { "Operator": "Equals", "Operands": [ "Next" ] } } ], "Errors": [ { "NextAction": "43c9cb8f-08ff-4636-ad02-615b70afbbe0", "ErrorType": "NoMatchingCondition" }, { "NextAction": "43c9cb8f-08ff-4636-ad02-615b70afbbe0", "ErrorType": "NoMatchingError" }, { "NextAction": "43c9cb8f-08ff-4636-ad02-615b70afbbe0", "ErrorType": "TimeLimitExceeded" } ] } }, { "Parameters": { "FlowLoggingBehavior": "Enabled" }, "Identifier": "92e56bce-11d6-4f65-a3b5-e1d5f2f19588", "Type": "UpdateFlowLoggingBehavior", "Transitions": { "NextAction": "a1894df8-5034-45b4-a452-2b4a0537b9ed" } }, { "Parameters": {}, "Identifier": "43c9cb8f-08ff-4636-ad02-615b70afbbe0", "Type": "DisconnectParticipant", "Transitions": {} }, { "Parameters": { "Attributes": { "Disposition": "$.Views.ViewResultData.FormData.disposition.0", "PostContactSurvey": "$.Views.ViewResultData.FormData.survey.0" }, "TargetContact": "Related" }, "Identifier": "03c6468b-6399-4c73-81b8-7cd407ad61b5", "Type": "UpdateContactAttributes", "Transitions": { "NextAction": "92639e8b-df91-4868-b38e-612c84671cee", "Errors": [ { "NextAction": "92639e8b-df91-4868-b38e-612c84671cee", "ErrorType": "NoMatchingError" } ] } }, { "Parameters": { "ViewResource": { "Id": "arn:aws:connect:us-east-1:aws:view/form:1" }, "InvocationTimeLimitSeconds": "54000", "ViewData": { "Sections": [ { "IsEditable": false, "Configuration": { "Layout": { "Columns": [ "12" ] } }, "Type": "FormSection", "Items": [ { "Required": true, "Fluid": false, "MultiSelect": false, "Type": "Dropdown", "Name": "disposition", "Label": "Disposition", "Options": [ { "Label": "Case Resolved", "Value": "resolved" }, { "Label": "Follow-up Required", "Value": "followup" }, { "Label": "Dropped Midway", "Value": "dropped" }, { "Label": "Accidental Call", "Value": "accident" }, { "Label": "Department Change", "Value": "changequeue" } ] }, { "Required": true, "Fluid": false, "MultiSelect": false, "Type": "FormInput", "Name": "summary", "Label": "Call Summary", "Props": { "Label": "Call Summary", "Name": "summary-input", "InputType": "text", "Required": true, "HelperText": "The customer wanted to get an increase in their credit amount." } } ], "Heading": "Call Summary" }, { "IsEditable": false, "Items": [ { "Required": false, "Fluid": false, "MultiSelect": false, "Type": "Toggle", "Name": "survey", "Label": "Trigger outbound survey for customer" } ], "Type": "FormSection", "Heading": "Post-contact survey" } ], "Cancel": { "Label": "Skip" }, "Heading": "Set Disposition", "Next": "Submit disposition" } }, "Identifier": "a1894df8-5034-45b4-a452-2b4a0537b9ed", "Type": "ShowView", "Transitions": { "NextAction": "43c9cb8f-08ff-4636-ad02-615b70afbbe0", "Conditions": [ { "NextAction": "92e56bce-11d6-4f65-a3b5-e1d5f2f19588", "Condition": { "Operator": "Equals", "Operands": [ "Back" ] } }, { "NextAction": "03c6468b-6399-4c73-81b8-7cd407ad61b5", "Condition": { "Operator": "Equals", "Operands": [ "Next" ] } }, { "NextAction": "03c6468b-6399-4c73-81b8-7cd407ad61b5", "Condition": { "Operator": "Equals", "Operands": [ "Step" ] } } ], "Errors": [ { "NextAction": "43c9cb8f-08ff-4636-ad02-615b70afbbe0", "ErrorType": "NoMatchingCondition" }, { "NextAction": "43c9cb8f-08ff-4636-ad02-615b70afbbe0", "ErrorType": "NoMatchingError" }, { "NextAction": "43c9cb8f-08ff-4636-ad02-615b70afbbe0", "ErrorType": "TimeLimitExceeded" } ] } } ] }