{
    "name": "Напоминание о собеседовании",
    "description": "Процесс Routena, массово импортированный из Sensei.",
    "source": {
        "system": "sensei",
        "process_id": "25249",
        "entry_node_id": "596182",
        "sensei_process_id": "25249",
        "sensei_version_id": "361936",
        "sensei_version_kind": "deployed",
        "is_copy": false
    },
    "start": "sensei_1411895",
    "nodes": {
        "sensei_1411895": {
            "type": "if",
            "config": {
                "conditions": [
                    [
                        {
                            "operator": "before_days",
                            "left": {
                                "source": "lead_field",
                                "field_name": "S. Время Собеседования"
                            },
                            "right": {
                                "source": "literal",
                                "value": 1
                            }
                        }
                    ]
                ]
            },
            "on_true": "sensei_1411897",
            "on_false": "sensei_1411896"
        },
        "sensei_1411896": {
            "type": "field",
            "config": {
                "fields": [],
                "local_parameters": [
                    {
                        "key": "local_param_34315",
                        "name": "Дата и время собеса 1",
                        "value": {
                            "source": "lead_field",
                            "field_name": "S. Время Собеседования"
                        },
                        "date_only": false
                    }
                ],
                "status_update": null
            },
            "next": "sensei_885813"
        },
        "sensei_885813": {
            "type": "wait",
            "config": {
                "mode": "until",
                "until": {
                    "source": "lead_field",
                    "field_name": "S. Время Собеседования",
                    "add_seconds": -10800
                }
            },
            "next": "sensei_885811"
        },
        "sensei_885811": {
            "type": "if",
            "config": {
                "conditions": [
                    [
                        {
                            "operator": "in",
                            "left": {
                                "source": "lead_property",
                                "property": "status_id"
                            },
                            "right": {
                                "source": "literal",
                                "value": [
                                    61461354
                                ]
                            }
                        },
                        {
                            "operator": "equal",
                            "left": {
                                "source": "context",
                                "key": "local_param_34315"
                            },
                            "right": {
                                "source": "literal",
                                "value": " {{Сделка.S. Время Собеседования}}"
                            }
                        }
                    ]
                ]
            },
            "on_true": "sensei_1411898",
            "on_false": "sensei_1411897"
        },
        "sensei_1411897": {
            "type": "end",
            "config": {
                "result_code": "sensei_result_e7d2ef425dc5",
                "result_name": "Прошло"
            }
        },
        "sensei_1411898": {
            "type": "multicondition",
            "config": {
                "branches": [
                    {
                        "code": "branch_0",
                        "name": "онлайн",
                        "next": "sensei_1411899",
                        "otherwise": false,
                        "conditions": [
                            [
                                {
                                    "operator": "equal",
                                    "left": {
                                        "source": "lead_field",
                                        "field_name": "Тип собеседования"
                                    },
                                    "right": {
                                        "source": "literal",
                                        "value": "Онлайн"
                                    }
                                }
                            ]
                        ]
                    },
                    {
                        "code": "branch_1",
                        "name": "офис",
                        "next": "sensei_1411900",
                        "otherwise": false,
                        "conditions": [
                            [
                                {
                                    "operator": "equal",
                                    "left": {
                                        "source": "lead_field",
                                        "field_name": "Тип собеседования"
                                    },
                                    "right": {
                                        "source": "literal",
                                        "value": "Офис"
                                    }
                                }
                            ]
                        ]
                    },
                    {
                        "code": "branch_2",
                        "name": "Иначе",
                        "next": "sensei_1411897",
                        "otherwise": true
                    }
                ]
            }
        },
        "sensei_1411900": {
            "type": "note",
            "config": {
                "text": "Routena: требуется подпроцесс «WA HR Напоминание об оффлайн-встрече» (Sensei 1411900).",
                "system": true
            },
            "next": "sensei_596183"
        },
        "sensei_596183": {
            "type": "end",
            "config": {
                "result_code": "sensei_result_62e346eb8837",
                "result_name": "успешно"
            }
        },
        "sensei_1411899": {
            "type": "note",
            "config": {
                "text": "Routena: требуется подпроцесс «WA HR Напоминание об онлайн-встрече» (Sensei 1411899).",
                "system": true
            },
            "next": "sensei_596183"
        }
    },
    "process_key": "hr_interview_reminder"
}
