Skip to content

Latest commit

 

History

History
84 lines (80 loc) · 1.55 KB

File metadata and controls

84 lines (80 loc) · 1.55 KB
description Automatically generated file. DO NOT MODIFY
mgc identity-governance lifecycle-workflows workflows create --body '{
\
    "category": "joiner",
\
    "description": "Configure new hire tasks for onboarding employees on their first day",
\
    "displayName": "Australia Onboard new hire employee",
\
    "isEnabled": true,
\
    "isSchedulingEnabled": true,
\
    "executionConditions": {
\
        "@odata.type": "#microsoft.graph.identityGovernance.triggerAndScopeBasedConditions",
\
        "scope": {
\
            "@odata.type": "#microsoft.graph.identityGovernance.ruleBasedSubjectSet",
\
            "rule": "(country eq 'Australia')"
\
        },
\
        "trigger": {
\
            "@odata.type": "#microsoft.graph.identityGovernance.timeBasedAttributeTrigger",
\
            "timeBasedAttribute": "employeeHireDate",
\
            "offsetInDays": 0
\
        }
\
    },
\
    "tasks": [
\
        {
\
            "continueOnError": false,
\
            "description": "Enable user account in the directory",
\
            "displayName": "Enable User Account",
\
            "isEnabled": true,
\
            "taskDefinitionId": "6fc52c9d-398b-4305-9763-15f42c1676fc",
\
            "arguments": []
\
        },
\
        {
\
            "continueOnError": false,
\
            "description": "Send welcome email to new hire",
\
            "displayName": "Send Welcome Email",
\
            "isEnabled": true,
\
            "taskDefinitionId": "70b29d51-b59a-4773-9280-8841dfd3f2ea",
\
            "arguments": []
\
        }
\
    ]
\
}
\
'