Created
September 17, 2017 17:42
-
-
Save alexed1/4b334214fc106071583d87d3efdb97ac to your computer and use it in GitHub Desktop.
With No Event Trigger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"fullName": "With_No_Event_Trigger-1", | |
"actionCalls": [{ | |
"processMetadataValues": [{ | |
"name": "postTarget", | |
"value": { | |
"stringValue": "group_edelstein" | |
} | |
}, { | |
"name": "textJson", | |
"value": { | |
"stringValue": "{\"mentions\":[],\"message\":\"Process is running\"}" | |
} | |
}], | |
"name": "myRule_1_A1", | |
"label": "Process Running", | |
"locationX": "100", | |
"locationY": "200", | |
"actionName": "chatterPost", | |
"actionType": "chatterPost", | |
"connector": { | |
"targetReference": "myRule_1_A2" | |
}, | |
"inputParameters": [{ | |
"name": "text", | |
"value": { | |
"stringValue": "Process is running" | |
} | |
}, { | |
"name": "type", | |
"value": { | |
"stringValue": "GROUP" | |
} | |
}, { | |
"name": "subjectNameOrId", | |
"value": { | |
"stringValue": "0F99A00000003aHSAQ" | |
} | |
}] | |
}, { | |
"processMetadataValues": [{ | |
"name": "ActionCallType", | |
"value": { | |
"stringValue": "flow" | |
} | |
}, { | |
"name": "flowSelection", | |
"value": { | |
"stringValue": "Flow Launched Stub" | |
} | |
}], | |
"name": "myRule_1_A2", | |
"label": "Launch Flow Launched Stub", | |
"locationX": "100", | |
"locationY": "300", | |
"actionName": "Flow_Launched_Stub", | |
"actionType": "flow" | |
}], | |
"assignments": { | |
"name": "myVariable_waitStartTimeAssignment", | |
"label": "myVariable_waitStartTimeAssignment", | |
"locationX": "0", | |
"locationY": "0", | |
"assignmentItems": { | |
"assignToReference": "myVariable_waitStartTimeVariable", | |
"operator": "Assign", | |
"value": { | |
"elementReference": "$Flow.CurrentDateTime" | |
} | |
}, | |
"connector": { | |
"targetReference": "myDecision" | |
} | |
}, | |
"decisions": { | |
"processMetadataValues": { | |
"name": "index", | |
"value": { | |
"numberValue": "0.0" | |
} | |
}, | |
"name": "myDecision", | |
"label": "myDecision", | |
"locationX": "50", | |
"locationY": "0", | |
"defaultConnectorLabel": "default", | |
"rules": { | |
"name": "myRule_1", | |
"conditionLogic": "and", | |
"conditions": { | |
"leftValueReference": "formula_myRule_1", | |
"operator": "EqualTo", | |
"rightValue": { | |
"booleanValue": "true" | |
} | |
}, | |
"connector": { | |
"targetReference": "myRule_1_A1" | |
}, | |
"label": "pass through" | |
} | |
}, | |
"formulas": { | |
"name": "formula_myRule_1", | |
"dataType": "Boolean", | |
"expression": "true" | |
}, | |
"interviewLabel": "With_No_Event_Trigger-1_InterviewLabel", | |
"label": "With No Event Trigger", | |
"processMetadataValues": [{ | |
"name": "ObjectType", | |
"value": { | |
"stringValue": "Contact" | |
} | |
}, { | |
"name": "ObjectVariable", | |
"value": { | |
"elementReference": "myVariable_current" | |
} | |
}, { | |
"name": "OldObjectVariable", | |
"value": { | |
"elementReference": "myVariable_old" | |
} | |
}, { | |
"name": "TriggerType", | |
"value": { | |
"stringValue": "onAllChanges" | |
} | |
}], | |
"processType": "Workflow", | |
"startElementReference": "myVariable_waitStartTimeAssignment", | |
"variables": [{ | |
"name": "myVariable_current", | |
"dataType": "SObject", | |
"isCollection": "false", | |
"isInput": "true", | |
"isOutput": "true", | |
"objectType": "Contact" | |
}, { | |
"name": "myVariable_old", | |
"dataType": "SObject", | |
"isCollection": "false", | |
"isInput": "true", | |
"isOutput": "false", | |
"objectType": "Contact" | |
}, { | |
"name": "myVariable_waitStartTimeVariable", | |
"dataType": "DateTime", | |
"isCollection": "false", | |
"isInput": "false", | |
"isOutput": "false", | |
"value": { | |
"elementReference": "$Flow.CurrentDateTime" | |
} | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment