147 lines
255 KiB
JSON
147 lines
255 KiB
JSON
[
|
|
{
|
|
"model": "horilla_automations.mailautomation",
|
|
"pk": 1,
|
|
"fields": {
|
|
"created_at": "2025-04-30T06:35:03.533Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": true,
|
|
"title": "Leave Request Automation",
|
|
"method_title": "leave_request_automation",
|
|
"model": "leave.models.LeaveRequest",
|
|
"mail_to": "['employee_id__employee_work_info__reporting_manager_id__get_email']",
|
|
"mail_details": "employee_id__employee_work_info__reporting_manager_id__pk",
|
|
"mail_detail_choice": "",
|
|
"trigger": "on_create",
|
|
"mail_template": 1,
|
|
"delivary_channel": "email",
|
|
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{"name":"automation_multiple_is_active","type":"CheckboxInput","label":"Is Active","required":false},{"name":"automation_multiple_employee_id","type":"Select","label":"Employee","required":true,"options":[{"value":"","label":"---------"},{"value":"1","label":"Adam Luis (PEP#00)"}],"related_fields":[]},{"name":"automation_multiple_employee_id__badge_id","type":"TextInput","label":"Badge id | Employee","required":false},{"name":"automation_multiple_employee_id__employee_user_id","type":"Select","label":"User | Employee","required":false,"options":[{"value":1,"label":"admin"}]},{"name":"automation_multiple_employee_id__employee_first_name","type":"TextInput","label":"First name | Employee","required":true},{"name":"automation_multiple_employee_id__employee_last_name","type":"TextInput","label":"Last name | Employee","required":false},{"name":"automation_multiple_employee_id__employee_profile","type":"ClearableFileInput","label":"Employee profile | Employee","required":false},{"name":"automation_multiple_employee_id__email","type":"EmailInput","label":"Email | Employee","required":true},{"name":"automation_multiple_employee_id__phone","type":"TextInput","label":"Phone | Employee","required":true},{"name":"automation_multiple_employee_id__address","type":"Textarea","label":"Address | Employee","required":false},{"name":"automation_multiple_employee_id__country","type":"TextInput","label":"Country | Employee","required":false},{"name":"automation_multiple_employee_id__state","type":"TextInput","label":"State | Employee","required":false},{"name":"automation_multiple_employee_id__city","type":"TextInput","label":"City | Employee","required":false},{"name":"automation_multiple_employee_id__zip","type":"TextInput","label":"Zip | Employee","required":false},{"name":"automation_multiple_employee_id__dob","type":"DateInput","label":"Dob | Employee","required":false},{"name":"automation_multiple_employee_id__gender","type":"Select","label":"Gender | Employee","required":true,"options":[{"value":"male","label":"Male"},{"value":"female","label":"Female"},{"value":"other","label":"Other"}]},{"name":"automation_multiple_employee_id__qualification","type":"TextInput","label":"Qualification | Employee","required":false},{"name":"automation_multiple_employee_id__experience","type":"NumberInput","label":"Experience | Employee","required":false},{"name":"automation_multiple_employee_id__marital_status","type":"Select","label":"Marital status | Employee","required":false,"options":[{"value":"","label":"---------"},{"value":"single","label":"Single"},{"value":"married","label":"Married"},{"value":"divorced","label":"Divorced"}]},{"name":"automation_multiple_employee_id__children","type":"NumberInput","label":"Children | Employee","required":false},{"name":"automation_multiple_employee_id__emergency_contact","type":"TextInput","label":"Emergency contact | Employee","required":false},{"name":"automation_multiple_employee_id__emergency_contact_name","type":"TextInput","label":"Emergency contact name | Employee","required":false},{"name":"automation_multiple_employee_id__emergency_contact_relation","type":"TextInput","label":"Emergency contact relation | Employee","required":false},{"name":"automation_multiple_employee_id__is_active","type":"CheckboxInput","label":"Is active | Employee","required":false},{"name":"automation_multiple_employee_id__additional_info","type":"Textarea","label":"Additional info | Employee","required":false},{"name":"automation_multiple_leave_type_id","type":"Select","label":"Leave Type","required":true,"options":[{"value":"","label":"---------"}],"related_fields":[]},{"name":"automation_multiple_leave_type_id__is_active","type":"CheckboxInput","label":"Is active | Leave Type","required":false},{"name":"automation_multiple_leave_type_id__icon","type":"ClearableFileInput","label":"Icon | Leave Type","required":false},{"name":"automation_multiple_leave_type_id__name","type":"TextInput","label":"Name | Leave Type","required":true},{"name":"automation_multiple_leave_type_id__color","type":"TextInput","label":"Color | Leave Type","required":true},{"name":"automation_multiple_leave_type_id__payment","type":"Select","label":"Payment | Leave Type","required":true,"options":[{"value":"paid","label":"Paid"},{"value":"unpaid","label":"Unpaid"}]},{"name":"automation_multiple_leave_type_id__count","type":"NumberInput","label":"Count | Leave Type","required":true},{"name":"automation_multiple_leave_type_id__period_in","type":"Select","label":"Period in | Leave Type","required":true,"options":[{"value":"day","label":"Day"},{"value":"month","label":"Month"},{"value":"year","label":"Year"}]},{"name":"automation_multiple_leave_type_id__limit_leave","type":"CheckboxInput","label":"Limit leave | Leave Type","required":false},{"name":"automation_multiple_leave_type_id__total_days","type":"NumberInput","label":"Total days | Leave Type","required":true},{"name":"automation_multiple_leave_type_id__reset","type":"CheckboxInput","label":"Reset | Leave Type","required":false},{"name":"automation_multiple_leave_type_id__is_encashable","type":"CheckboxInput","label":"Is encashable | Leave Type","required":false},{"name":"automation_multiple_leave_type_id__reset_based","type":"Select","label":"Reset based | Leave Type","required":false,"options":[{"value":"","label":"---------"},{"value":"yearly","label":"Yearly"},{"value":"monthly","label":"Monthly"},{"value":"weekly","label":"Weekly"}]},{"name":"automation_multiple_leave_type_id__reset_month","type":"Select","label":"Reset month | Leave Type","required":false,"options":[{"value":"","label":"---------"},{"value":"1","label":"Jan"},{"value":"2","label":"Feb"},{"value":"3","label":"Mar"},{"value":"4","label":"Apr"},{"value":"5","label":"May"},{"value":"6","label":"Jun"},{"value":"7","label":"Jul"},{"value":"8","label":"Aug"},{"value":"9","label":"Sep"},{"value":"10","label":"Oct"},{"value":"11","label":"Nov"},{"value":"12","label":"Dec"}]},{"name":"automation_multiple_leave_type_id__reset_day","type":"Select","label":"Reset day | Leave Type","required":false,"options":[{"value":"","label":"---------"},{"value":"last day","label":"Last Day"},{"value":"1","label":"1st"},{"value":"2","label":"2nd"},{"value":"3","label":"3rd"},{"value":"4","label":"4th"},{"value":"5","label":"5th"},{"value":"6","label":"6th"},{"value":"7","label":"7th"},{"value":"8","label":"8th"},{"value":"9","label":"9th"},{"value":"10","label":"10th"},{"value":"11","label":"11th"},{"value":"12","label":"12th"},{"value":"13","label":"13th"},{"value":"14","label":"14th"},{"value":"15","label":"15th"},{"value":"16","label":"16th"},{"value":"17","label":"17th"},{"value":"18","label":"18th"},{"value":"19","label":"19th"},{"value":"20","label":"20th"},{"value":"21","label":"21th"},{"value":"22","label":"22th"},{"value":"23","label":"23th"},{"value":"24","label":"24th"},{"value":"25","label":"25th"},{"value":"26","label":"26th"},{"value":"27","label":"27th"},{"value":"28","label":"28th"},{"value":"29","label":"29th"},{"value":"30","label":"30th"},{"value":"31","label":"31th"}]},{"name":"automation_multiple_leave_type_id__reset_weekend","type":"Select","label":"Reset weekend | Leave Type","required":false,"options":[{"value":"","label":"---------"},{"value":"0","label":"Monday"},{"value":"1","label":"Tuesday"},{"value":"2","label":"Wednesday"},{"value":"3","label":"Thursday"},{"value":"4","label":"Friday"},{"value":"5","label":"Saturday"},{"value":"6","label":"Sunday"}]},{"name":"automation_multiple_leave_type_id__carryforward_type","type":"Select","label":"Carryforward type | Leave Type","required":true,"options":[{"value":"no carryforward","label":"No Carry Forward"},{"value":"carryforward","label":"Carry Forward"},{"value":"carryforward expire","label":"Carry Forward with Expire"}]},{"name":"automation_multiple_leave_type_id__carryforward_max","type":"NumberInput","label":"Carryforward max | Leave Type","required":false},{"name":"automation_multiple_leave_type_id__carryforward_expire_in","type":"NumberInput","label":"Carryforward expire in | Leave Type","required":false},{"name":"automation_multiple_leave_type_id__carryforward_expire_period","type":"Select","label":"Carryforward expire period | Leave Type","required":false,"options":[{"value":"","label":"---------"},{"value":"day","label":"Day"},{"value":"month","label":"Month"},{"value":"year","label":"Year"}]},{"name":"automation_multiple_leave_type_id__carryforward_expire_date","type":"DateInput","label":"Carryforward expire date | Leave Type","required":false},{"name":"automation_multiple_leave_type_id__require_approval","type":"Select","label":"Require approval | Leave Type","required":false,"options":[{"value":"","label":"---------"},{"value":"yes","label":"Yes"},{"value":"no","label":"No"}]},{"name":"automation_multiple_leave_type_id__require_attachment","type":"Select","label":"Require attachment | Leave Type","required":false,"options":[{"value":"","label":"---------"},{"value":"yes","label":"Yes"},{"value":"no","label":"No"}]},{"name":"automation_multiple_leave_type_id__exclude_company_leave","type":"Select","label":"Exclude company leave | Leave Type","required":true,"options":[{"value":"yes","label":"Yes"},{"value":"no","label":"No"}]},{"name":"automation_multiple_leave_type_id__exclude_holiday","type":"Select","label":"Exclude holiday | Leave Type","required":true,"options":[{"value":"yes","label":"Yes"},{"value":"no","label":"No"}]},{"name":"automation_multiple_leave_type_id__is_compensatory_leave","type":"CheckboxInput","label":"Is compensatory leave | Leave Type","required":false},{"name":"automation_multiple_start_date","type":"DateInput","label":"Start Date","required":true},{"name":"automation_multiple_start_date_breakdown","type":"Select","label":"Start Date Breakdown","required":true,"options":[{"value":"full_day","label":"Full Day"},{"value":"first_half","label":"First Half"},{"value":"second_half","label":"Second Half"}]},{"name":"automation_multiple_end_date","type":"DateInput","label":"End Date","required":false},{"name":"automation_multiple_end_date_breakdown","type":"Select","label":"End Date Breakdown","required":true,"options":[{"value":"full_day","label":"Full Day"},{"value":"first_half","label":"First Half"},{"value":"second_half","label":"Second Half"}]},{"name":"automation_multiple_requested_days","type":"NumberInput","label":"Requested Days","required":false},{"name":"automation_multiple_leave_clashes_count","type":"NumberInput","label":"Leave Clashes Count","required":true},{"name":"automation_multiple_description","type":"Textarea","label":"Description","required":true,"max_length":255},{"name":"automation_multiple_attachment","type":"ClearableFileInput","label":"Attachment","required":false},{"name":"automation_multiple_status","type":"Select","label":"Status","required":true,"options":[{"value":"requested","label":"Requested"},{"value":"approved","label":"Approved"},{"value":"cancelled","label":"Cancelled"},{"value":"rejected","label":"Rejected"}]},{"name":"automation_multiple_requested_date","type":"DateInput","label":"Created Date","required":true},{"name":"automation_multiple_approved_available_days","type":"NumberInput","label":"Approved available days","required":true},{"name":"automation_multiple_approved_carryforward_days","type":"NumberInput","label":"Approved carryforward days","required":true},{"name":"automation_multiple_reject_reason","type":"Textarea","label":"Reject Reason","required":false,"max_length":255},{"name":"automation_multiple_created_by","type":"Select","label":"Created By","required":false,"options":[{"value":"","label":"---------"},{"value":"1","label":"Adam Luis (PEP#00)"}],"related_fields":[]},{"name":"automation_multiple_created_by__badge_id","type":"TextInput","label":"Badge id | Created By","required":false},{"name":"automation_multiple_created_by__employee_user_id","type":"Select","label":"User | Created By","required":false,"options":[{"value":1,"label":"admin"}]},{"name":"automation_multiple_created_by__employee_first_name","type":"TextInput","label":"First name | Created By","required":true},{"name":"automation_multiple_created_by__employee_last_name","type":"TextInput","label":"Last name | Created By","required":false},{"name":"automation_multiple_created_by__employee_profile","type":"ClearableFileInput","label":"Employee profile | Created By","required":false},{"name":"automation_multiple_created_by__email","type":"EmailInput","label":"Email | Created By","required":true},{"name":"automation_multiple_created_by__phone","type":"TextInput","label":"Phone | Created By","required":true},{"name":"automation_multiple_created_by__address","type":"Textarea","label":"Address | Created By","required":false},{"name":"automation_multiple_created_by__country","type":"TextInput","label":"Country | Created By","required":false},{"name":"automation_multiple_created_by__state","type":"TextInput","label":"State | Created By","required":false},{"name":"automation_multiple_created_by__city","type":"TextInput","label":"City | Created By","required":false},{"name":"automation_multiple_created_by__zip","type":"TextInput","label":"Zip | Created By","required":false},{"name":"automation_multiple_created_by__dob","type":"DateInput","label":"Dob | Created By","required":false},{"name":"automation_multiple_created_by__gender","type":"Select","label":"Gender | Created By","required":true,"options":[{"value":"male","label":"Male"},{"value":"female","label":"Female"},{"value":"other","label":"Other"}]},{"name":"automation_multiple_created_by__qualification","type":"TextInput","label":"Qualification | Created By","required":false},{"name":"automation_multiple_created_by__experience","type":"NumberInput","label":"Experience | Created By","required":false},{"name":"automation_multiple_created_by__marital_status","type":"Select","label":"Marital status | Created By","required":false,"options":[{"value":"","label":"---------"},{"value":"single","label":"Single"},{"value":"married","label":"Married"},{"value":"divorced","label":"Divorced"}]},{"name":"automation_multiple_created_by__children","type":"NumberInput","label":"Children | Created By","required":false},{"name":"automation_multiple_created_by__emergency_contact","type":"TextInput","label":"Emergency contact | Created By","required":false},{"name":"automation_multiple_created_by__emergency_contact_name","type":"TextInput","label":"Emergency contact name | Created By","required":false},{"name":"automation_multiple_created_by__emergency_contact_relation","type":"TextInput","label":"Emergency contact relation | Created By","required":false},{"name":"automation_multiple_created_by__is_active","type":"CheckboxInput","label":"Is active | Created By","required":false},{"name":"automation_multiple_created_by__additional_info","type":"Textarea","label":"Additional info | Created By","required":false}]\" data-select2-id=\"250\" tabindex=\"-1\" aria-hidden=\"true\" name=\"automation_multiple_condition\"><option value=\"automation_multiple_is_active\" data-select2-id=\"252\" selected=\"selected\">Is Active</option><option value=\"automation_multiple_employee_id\">Employee</option><option value=\"automation_multiple_employee_id__badge_id\">Badge id | Employee</option><option value=\"automation_multiple_employee_id__employee_user_id\">User | Employee</option><option value=\"automation_multiple_employee_id__employee_first_name\">First name | Employee</option><option value=\"automation_multiple_employee_id__employee_last_name\">Last name | Employee</option><option value=\"automation_multiple_employee_id__employee_profile\">Employee profile | Employee</option><option value=\"automation_multiple_employee_id__email\">Email | Employee</option><option value=\"automation_multiple_employee_id__phone\">Phone | Employee</option><option value=\"automation_multiple_employee_id__address\">Address | Employee</option><option value=\"automation_multiple_employee_id__country\">Country | Employee</option><option value=\"automation_multiple_employee_id__state\">State | Employee</option><option value=\"automation_multiple_employee_id__city\">City | Employee</option><option value=\"automation_multiple_employee_id__zip\">Zip | Employee</option><option value=\"automation_multiple_employee_id__dob\">Dob | Employee</option><option value=\"automation_multiple_employee_id__gender\">Gender | Employee</option><option value=\"automation_multiple_employee_id__qualification\">Qualification | Employee</option><option value=\"automation_multiple_employee_id__experience\">Experience | Employee</option><option value=\"automation_multiple_employee_id__marital_status\">Marital status | Employee</option><option value=\"automation_multiple_employee_id__children\">Children | Employee</option><option value=\"automation_multiple_employee_id__emergency_contact\">Emergency contact | Employee</option><option value=\"automation_multiple_employee_id__emergency_contact_name\">Emergency contact name | Employee</option><option value=\"automation_multiple_employee_id__emergency_contact_relation\">Emergency contact relation | Employee</option><option value=\"automation_multiple_employee_id__is_active\">Is active | Employee</option><option value=\"automation_multiple_employee_id__additional_info\">Additional info | Employee</option><option value=\"automation_multiple_leave_type_id\">Leave Type</option><option value=\"automation_multiple_leave_type_id__is_active\">Is active | Leave Type</option><option value=\"automation_multiple_leave_type_id__icon\">Icon | Leave Type</option><option value=\"automation_multiple_leave_type_id__name\">Name | Leave Type</option><option value=\"automation_multiple_leave_type_id__color\">Color | Leave Type</option><option value=\"automation_multiple_leave_type_id__payment\">Payment | Leave Type</option><option value=\"automation_multiple_leave_type_id__count\">Count | Leave Type</option><option value=\"automation_multiple_leave_type_id__period_in\">Period in | Leave Type</option><option value=\"automation_multiple_leave_type_id__limit_leave\">Limit leave | Leave Type</option><option value=\"automation_multiple_leave_type_id__total_days\">Total days | Leave Type</option><option value=\"automation_multiple_leave_type_id__reset\">Reset | Leave Type</option><option value=\"automation_multiple_leave_type_id__is_encashable\">Is encashable | Leave Type</option><option value=\"automation_multiple_leave_type_id__reset_based\">Reset based | Leave Type</option><option value=\"automation_multiple_leave_type_id__reset_month\">Reset month | Leave Type</option><option value=\"automation_multiple_leave_type_id__reset_day\">Reset day | Leave Type</option><option value=\"automation_multiple_leave_type_id__reset_weekend\">Reset weekend | Leave Type</option><option value=\"automation_multiple_leave_type_id__carryforward_type\">Carryforward type | Leave Type</option><option value=\"automation_multiple_leave_type_id__carryforward_max\">Carryforward max | Leave Type</option><option value=\"automation_multiple_leave_type_id__carryforward_expire_in\">Carryforward expire in | Leave Type</option><option value=\"automation_multiple_leave_type_id__carryforward_expire_period\">Carryforward expire period | Leave Type</option><option value=\"automation_multiple_leave_type_id__carryforward_expire_date\">Carryforward expire date | Leave Type</option><option value=\"automation_multiple_leave_type_id__require_approval\">Require approval | Leave Type</option><option value=\"automation_multiple_leave_type_id__require_attachment\">Require attachment | Leave Type</option><option value=\"automation_multiple_leave_type_id__exclude_company_leave\">Exclude company leave | Leave Type</option><option value=\"automation_multiple_leave_type_id__exclude_holiday\">Exclude holiday | Leave Type</option><option value=\"automation_multiple_leave_type_id__is_compensatory_leave\">Is compensatory leave | Leave Type</option><option value=\"automation_multiple_start_date\">Start Date</option><option value=\"automation_multiple_start_date_breakdown\">Start Date Breakdown</option><option value=\"automation_multiple_end_date\">End Date</option><option value=\"automation_multiple_end_date_breakdown\">End Date Breakdown</option><option value=\"automation_multiple_requested_days\">Requested Days</option><option value=\"automation_multiple_leave_clashes_count\">Leave Clashes Count</option><option value=\"automation_multiple_description\">Description</option><option value=\"automation_multiple_attachment\">Attachment</option><option value=\"automation_multiple_status\">Status</option><option value=\"automation_multiple_requested_date\">Created Date</option><option value=\"automation_multiple_approved_available_days\">Approved available days</option><option value=\"automation_multiple_approved_carryforward_days\">Approved carryforward days</option><option value=\"automation_multiple_reject_reason\">Reject Reason</option><option value=\"automation_multiple_created_by\">Created By</option><option value=\"automation_multiple_created_by__badge_id\">Badge id | Created By</option><option value=\"automation_multiple_created_by__employee_user_id\">User | Created By</option><option value=\"automation_multiple_created_by__employee_first_name\">First name | Created By</option><option value=\"automation_multiple_created_by__employee_last_name\">Last name | Created By</option><option value=\"automation_multiple_created_by__employee_profile\">Employee profile | Created By</option><option value=\"automation_multiple_created_by__email\">Email | Created By</option><option value=\"automation_multiple_created_by__phone\">Phone | Created By</option><option value=\"automation_multiple_created_by__address\">Address | Created By</option><option value=\"automation_multiple_created_by__country\">Country | Created By</option><option value=\"automation_multiple_created_by__state\">State | Created By</option><option value=\"automation_multiple_created_by__city\">City | Created By</option><option value=\"automation_multiple_created_by__zip\">Zip | Created By</option><option value=\"automation_multiple_created_by__dob\">Dob | Created By</option><option value=\"automation_multiple_created_by__gender\">Gender | Created By</option><option value=\"automation_multiple_created_by__qualification\">Qualification | Created By</option><option value=\"automation_multiple_created_by__experience\">Experience | Created By</option><option value=\"automation_multiple_created_by__marital_status\">Marital status | Created By</option><option value=\"automation_multiple_created_by__children\">Children | Created By</option><option value=\"automation_multiple_created_by__emergency_contact\">Emergency contact | Created By</option><option value=\"automation_multiple_created_by__emergency_contact_name\">Emergency contact name | Created By</option><option value=\"automation_multiple_created_by__emergency_contact_relation\">Emergency contact relation | Created By</option><option value=\"automation_multiple_created_by__is_active\">Is active | Created By</option><option value=\"automation_multiple_created_by__additional_info\">Additional info | Created By</option></select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"657\" style=\"width: 262.703px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\" aria-labelledby=\"select2-automation_multiple_condition-i0-container\"><span class=\"select2-selection__rendered\" id=\"select2-automation_multiple_condition-i0-container\" role=\"textbox\" aria-readonly=\"true\" title=\"Is Active\">Is Active</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span></td>\r\n <td>\r\n <select name=\"condition\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" data-select2-id=\"253\" tabindex=\"-1\" aria-hidden=\"true\">\r\n <option value=\"==\" data-select2-id=\"255\">==</option>\r\n <option value=\"!=\">!=</option>\r\n </select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"659\" style=\"width: 98.7656px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\" aria-labelledby=\"select2-condition-90-container\"><span class=\"select2-selection__rendered\" id=\"select2-condition-90-container\" role=\"textbox\" aria-readonly=\"true\" title=\"==\">==</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td class=\"condition-value-th\"><div class=\"oh-switch\" style=\"width: 30px;\"><input type=\"checkbox\" name=\"automation_multiple_condition\" class=\"oh-switch__checkbox oh-switch__checkbox\" checked=\"checked\" value=\"on\"></div></td>\r\n <td>\r\n <select name=\"logic\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" data-select2-id=\"256\" tabindex=\"-1\" aria-hidden=\"true\">\r\n <option value=\"and\" data-select2-id=\"258\">And</option>\r\n <option value=\"or\">Or</option>\r\n </select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"661\" style=\"width: 75.4375px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\" aria-labelledby=\"select2-logic-go-container\"><span class=\"select2-selection__rendered\" id=\"select2-logic-go-container\" role=\"textbox\" aria-readonly=\"true\" title=\"And\">And</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td>\r\n <div class=\"oh-btn-group\">\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n var clonedElement = $(this).closest('tr').clone();\r\n totalRows ='C' +( $(this).closest('table').find('.dynamic-condition-row').length + 1);\r\n clonedElement.find('.sn').html(totalRows)\r\n clonedElement.find('select').parent().find('span').remove()\r\n clonedElement.find('select').attr('class','w-100')\r\n\r\n $(this).closest('tr').parent().append(clonedElement)\r\n $('#multipleConditionTable').find('select').select2()\r\n \">\r\n <ion-icon name=\"copy-outline\" role=\"img\" class=\"md hydrated\"></ion-icon> \r\n </button>\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n $(this).closest('tr').remove();\r\n \">\r\n <ion-icon name=\"trash-outline\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </button>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n \r\n \r\n </tbody></table>",
|
|
"condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and",
|
|
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
|
|
"also_sent_to": [],
|
|
"template_attachments": []
|
|
}
|
|
},
|
|
{
|
|
"model": "horilla_automations.mailautomation",
|
|
"pk": 2,
|
|
"fields": {
|
|
"created_at": "2025-04-30T06:35:03.555Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": true,
|
|
"title": "Leave Allocation Automation",
|
|
"method_title": "leave_allocation_automation",
|
|
"model": "leave.models.LeaveAllocationRequest",
|
|
"mail_to": "['employee_id__employee_work_info__reporting_manager_id__get_email']",
|
|
"mail_details": "employee_id__pk",
|
|
"mail_detail_choice": "",
|
|
"trigger": "on_create",
|
|
"mail_template": 2,
|
|
"delivary_channel": "email",
|
|
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{"name":"automation_multiple_is_active","type":"CheckboxInput","label":"Is Active","required":false},{"name":"automation_multiple_leave_type_id","type":"Select","label":"Leave type","required":true,"options":[{"value":"","label":"---------"}],"related_fields":[]},{"name":"automation_multiple_leave_type_id__is_active","type":"CheckboxInput","label":"Is active | Leave type","required":false},{"name":"automation_multiple_leave_type_id__icon","type":"ClearableFileInput","label":"Icon | Leave type","required":false},{"name":"automation_multiple_leave_type_id__name","type":"TextInput","label":"Name | Leave type","required":true},{"name":"automation_multiple_leave_type_id__color","type":"TextInput","label":"Color | Leave type","required":true},{"name":"automation_multiple_leave_type_id__payment","type":"Select","label":"Payment | Leave type","required":true,"options":[{"value":"paid","label":"Paid"},{"value":"unpaid","label":"Unpaid"}]},{"name":"automation_multiple_leave_type_id__count","type":"NumberInput","label":"Count | Leave type","required":true},{"name":"automation_multiple_leave_type_id__period_in","type":"Select","label":"Period in | Leave type","required":true,"options":[{"value":"day","label":"Day"},{"value":"month","label":"Month"},{"value":"year","label":"Year"}]},{"name":"automation_multiple_leave_type_id__limit_leave","type":"CheckboxInput","label":"Limit leave | Leave type","required":false},{"name":"automation_multiple_leave_type_id__total_days","type":"NumberInput","label":"Total days | Leave type","required":true},{"name":"automation_multiple_leave_type_id__reset","type":"CheckboxInput","label":"Reset | Leave type","required":false},{"name":"automation_multiple_leave_type_id__is_encashable","type":"CheckboxInput","label":"Is encashable | Leave type","required":false},{"name":"automation_multiple_leave_type_id__reset_based","type":"Select","label":"Reset based | Leave type","required":false,"options":[{"value":"","label":"---------"},{"value":"yearly","label":"Yearly"},{"value":"monthly","label":"Monthly"},{"value":"weekly","label":"Weekly"}]},{"name":"automation_multiple_leave_type_id__reset_month","type":"Select","label":"Reset month | Leave type","required":false,"options":[{"value":"","label":"---------"},{"value":"1","label":"Jan"},{"value":"2","label":"Feb"},{"value":"3","label":"Mar"},{"value":"4","label":"Apr"},{"value":"5","label":"May"},{"value":"6","label":"Jun"},{"value":"7","label":"Jul"},{"value":"8","label":"Aug"},{"value":"9","label":"Sep"},{"value":"10","label":"Oct"},{"value":"11","label":"Nov"},{"value":"12","label":"Dec"}]},{"name":"automation_multiple_leave_type_id__reset_day","type":"Select","label":"Reset day | Leave type","required":false,"options":[{"value":"","label":"---------"},{"value":"last day","label":"Last Day"},{"value":"1","label":"1st"},{"value":"2","label":"2nd"},{"value":"3","label":"3rd"},{"value":"4","label":"4th"},{"value":"5","label":"5th"},{"value":"6","label":"6th"},{"value":"7","label":"7th"},{"value":"8","label":"8th"},{"value":"9","label":"9th"},{"value":"10","label":"10th"},{"value":"11","label":"11th"},{"value":"12","label":"12th"},{"value":"13","label":"13th"},{"value":"14","label":"14th"},{"value":"15","label":"15th"},{"value":"16","label":"16th"},{"value":"17","label":"17th"},{"value":"18","label":"18th"},{"value":"19","label":"19th"},{"value":"20","label":"20th"},{"value":"21","label":"21th"},{"value":"22","label":"22th"},{"value":"23","label":"23th"},{"value":"24","label":"24th"},{"value":"25","label":"25th"},{"value":"26","label":"26th"},{"value":"27","label":"27th"},{"value":"28","label":"28th"},{"value":"29","label":"29th"},{"value":"30","label":"30th"},{"value":"31","label":"31th"}]},{"name":"automation_multiple_leave_type_id__reset_weekend","type":"Select","label":"Reset weekend | Leave type","required":false,"options":[{"value":"","label":"---------"},{"value":"0","label":"Monday"},{"value":"1","label":"Tuesday"},{"value":"2","label":"Wednesday"},{"value":"3","label":"Thursday"},{"value":"4","label":"Friday"},{"value":"5","label":"Saturday"},{"value":"6","label":"Sunday"}]},{"name":"automation_multiple_leave_type_id__carryforward_type","type":"Select","label":"Carryforward type | Leave type","required":true,"options":[{"value":"no carryforward","label":"No Carry Forward"},{"value":"carryforward","label":"Carry Forward"},{"value":"carryforward expire","label":"Carry Forward with Expire"}]},{"name":"automation_multiple_leave_type_id__carryforward_max","type":"NumberInput","label":"Carryforward max | Leave type","required":false},{"name":"automation_multiple_leave_type_id__carryforward_expire_in","type":"NumberInput","label":"Carryforward expire in | Leave type","required":false},{"name":"automation_multiple_leave_type_id__carryforward_expire_period","type":"Select","label":"Carryforward expire period | Leave type","required":false,"options":[{"value":"","label":"---------"},{"value":"day","label":"Day"},{"value":"month","label":"Month"},{"value":"year","label":"Year"}]},{"name":"automation_multiple_leave_type_id__carryforward_expire_date","type":"DateInput","label":"Carryforward expire date | Leave type","required":false},{"name":"automation_multiple_leave_type_id__require_approval","type":"Select","label":"Require approval | Leave type","required":false,"options":[{"value":"","label":"---------"},{"value":"yes","label":"Yes"},{"value":"no","label":"No"}]},{"name":"automation_multiple_leave_type_id__require_attachment","type":"Select","label":"Require attachment | Leave type","required":false,"options":[{"value":"","label":"---------"},{"value":"yes","label":"Yes"},{"value":"no","label":"No"}]},{"name":"automation_multiple_leave_type_id__exclude_company_leave","type":"Select","label":"Exclude company leave | Leave type","required":true,"options":[{"value":"yes","label":"Yes"},{"value":"no","label":"No"}]},{"name":"automation_multiple_leave_type_id__exclude_holiday","type":"Select","label":"Exclude holiday | Leave type","required":true,"options":[{"value":"yes","label":"Yes"},{"value":"no","label":"No"}]},{"name":"automation_multiple_leave_type_id__is_compensatory_leave","type":"CheckboxInput","label":"Is compensatory leave | Leave type","required":false},{"name":"automation_multiple_employee_id","type":"Select","label":"Employee","required":true,"options":[{"value":"","label":"---------"},{"value":"1","label":"Adam Luis (PEP#00)"}],"related_fields":[]},{"name":"automation_multiple_employee_id__badge_id","type":"TextInput","label":"Badge id | Employee","required":false},{"name":"automation_multiple_employee_id__employee_user_id","type":"Select","label":"User | Employee","required":false,"options":[{"value":1,"label":"admin"}]},{"name":"automation_multiple_employee_id__employee_first_name","type":"TextInput","label":"First name | Employee","required":true},{"name":"automation_multiple_employee_id__employee_last_name","type":"TextInput","label":"Last name | Employee","required":false},{"name":"automation_multiple_employee_id__employee_profile","type":"ClearableFileInput","label":"Employee profile | Employee","required":false},{"name":"automation_multiple_employee_id__email","type":"EmailInput","label":"Email | Employee","required":true},{"name":"automation_multiple_employee_id__phone","type":"TextInput","label":"Phone | Employee","required":true},{"name":"automation_multiple_employee_id__address","type":"Textarea","label":"Address | Employee","required":false},{"name":"automation_multiple_employee_id__country","type":"TextInput","label":"Country | Employee","required":false},{"name":"automation_multiple_employee_id__state","type":"TextInput","label":"State | Employee","required":false},{"name":"automation_multiple_employee_id__city","type":"TextInput","label":"City | Employee","required":false},{"name":"automation_multiple_employee_id__zip","type":"TextInput","label":"Zip | Employee","required":false},{"name":"automation_multiple_employee_id__dob","type":"DateInput","label":"Dob | Employee","required":false},{"name":"automation_multiple_employee_id__gender","type":"Select","label":"Gender | Employee","required":true,"options":[{"value":"male","label":"Male"},{"value":"female","label":"Female"},{"value":"other","label":"Other"}]},{"name":"automation_multiple_employee_id__qualification","type":"TextInput","label":"Qualification | Employee","required":false},{"name":"automation_multiple_employee_id__experience","type":"NumberInput","label":"Experience | Employee","required":false},{"name":"automation_multiple_employee_id__marital_status","type":"Select","label":"Marital status | Employee","required":false,"options":[{"value":"","label":"---------"},{"value":"single","label":"Single"},{"value":"married","label":"Married"},{"value":"divorced","label":"Divorced"}]},{"name":"automation_multiple_employee_id__children","type":"NumberInput","label":"Children | Employee","required":false},{"name":"automation_multiple_employee_id__emergency_contact","type":"TextInput","label":"Emergency contact | Employee","required":false},{"name":"automation_multiple_employee_id__emergency_contact_name","type":"TextInput","label":"Emergency contact name | Employee","required":false},{"name":"automation_multiple_employee_id__emergency_contact_relation","type":"TextInput","label":"Emergency contact relation | Employee","required":false},{"name":"automation_multiple_employee_id__is_active","type":"CheckboxInput","label":"Is active | Employee","required":false},{"name":"automation_multiple_employee_id__additional_info","type":"Textarea","label":"Additional info | Employee","required":false},{"name":"automation_multiple_requested_days","type":"NumberInput","label":"Requested days","required":false},{"name":"automation_multiple_requested_date","type":"DateInput","label":"Requested date","required":true},{"name":"automation_multiple_description","type":"Textarea","label":"Description","required":true,"max_length":255},{"name":"automation_multiple_attachment","type":"ClearableFileInput","label":"Attachment","required":false},{"name":"automation_multiple_status","type":"Select","label":"Status","required":true,"options":[{"value":"requested","label":"Requested"},{"value":"approved","label":"Approved"},{"value":"rejected","label":"Rejected"}]},{"name":"automation_multiple_reject_reason","type":"Textarea","label":"Reject reason","required":false,"max_length":255}]\" data-select2-id=\"539\" tabindex=\"-1\" aria-hidden=\"true\" name=\"automation_multiple_condition\"><option value=\"automation_multiple_is_active\" data-select2-id=\"541\" selected=\"selected\">Is Active</option><option value=\"automation_multiple_leave_type_id\">Leave type</option><option value=\"automation_multiple_leave_type_id__is_active\">Is active | Leave type</option><option value=\"automation_multiple_leave_type_id__icon\">Icon | Leave type</option><option value=\"automation_multiple_leave_type_id__name\">Name | Leave type</option><option value=\"automation_multiple_leave_type_id__color\">Color | Leave type</option><option value=\"automation_multiple_leave_type_id__payment\">Payment | Leave type</option><option value=\"automation_multiple_leave_type_id__count\">Count | Leave type</option><option value=\"automation_multiple_leave_type_id__period_in\">Period in | Leave type</option><option value=\"automation_multiple_leave_type_id__limit_leave\">Limit leave | Leave type</option><option value=\"automation_multiple_leave_type_id__total_days\">Total days | Leave type</option><option value=\"automation_multiple_leave_type_id__reset\">Reset | Leave type</option><option value=\"automation_multiple_leave_type_id__is_encashable\">Is encashable | Leave type</option><option value=\"automation_multiple_leave_type_id__reset_based\">Reset based | Leave type</option><option value=\"automation_multiple_leave_type_id__reset_month\">Reset month | Leave type</option><option value=\"automation_multiple_leave_type_id__reset_day\">Reset day | Leave type</option><option value=\"automation_multiple_leave_type_id__reset_weekend\">Reset weekend | Leave type</option><option value=\"automation_multiple_leave_type_id__carryforward_type\">Carryforward type | Leave type</option><option value=\"automation_multiple_leave_type_id__carryforward_max\">Carryforward max | Leave type</option><option value=\"automation_multiple_leave_type_id__carryforward_expire_in\">Carryforward expire in | Leave type</option><option value=\"automation_multiple_leave_type_id__carryforward_expire_period\">Carryforward expire period | Leave type</option><option value=\"automation_multiple_leave_type_id__carryforward_expire_date\">Carryforward expire date | Leave type</option><option value=\"automation_multiple_leave_type_id__require_approval\">Require approval | Leave type</option><option value=\"automation_multiple_leave_type_id__require_attachment\">Require attachment | Leave type</option><option value=\"automation_multiple_leave_type_id__exclude_company_leave\">Exclude company leave | Leave type</option><option value=\"automation_multiple_leave_type_id__exclude_holiday\">Exclude holiday | Leave type</option><option value=\"automation_multiple_leave_type_id__is_compensatory_leave\">Is compensatory leave | Leave type</option><option value=\"automation_multiple_employee_id\">Employee</option><option value=\"automation_multiple_employee_id__badge_id\">Badge id | Employee</option><option value=\"automation_multiple_employee_id__employee_user_id\">User | Employee</option><option value=\"automation_multiple_employee_id__employee_first_name\">First name | Employee</option><option value=\"automation_multiple_employee_id__employee_last_name\">Last name | Employee</option><option value=\"automation_multiple_employee_id__employee_profile\">Employee profile | Employee</option><option value=\"automation_multiple_employee_id__email\">Email | Employee</option><option value=\"automation_multiple_employee_id__phone\">Phone | Employee</option><option value=\"automation_multiple_employee_id__address\">Address | Employee</option><option value=\"automation_multiple_employee_id__country\">Country | Employee</option><option value=\"automation_multiple_employee_id__state\">State | Employee</option><option value=\"automation_multiple_employee_id__city\">City | Employee</option><option value=\"automation_multiple_employee_id__zip\">Zip | Employee</option><option value=\"automation_multiple_employee_id__dob\">Dob | Employee</option><option value=\"automation_multiple_employee_id__gender\">Gender | Employee</option><option value=\"automation_multiple_employee_id__qualification\">Qualification | Employee</option><option value=\"automation_multiple_employee_id__experience\">Experience | Employee</option><option value=\"automation_multiple_employee_id__marital_status\">Marital status | Employee</option><option value=\"automation_multiple_employee_id__children\">Children | Employee</option><option value=\"automation_multiple_employee_id__emergency_contact\">Emergency contact | Employee</option><option value=\"automation_multiple_employee_id__emergency_contact_name\">Emergency contact name | Employee</option><option value=\"automation_multiple_employee_id__emergency_contact_relation\">Emergency contact relation | Employee</option><option value=\"automation_multiple_employee_id__is_active\">Is active | Employee</option><option value=\"automation_multiple_employee_id__additional_info\">Additional info | Employee</option><option value=\"automation_multiple_requested_days\">Requested days</option><option value=\"automation_multiple_requested_date\">Requested date</option><option value=\"automation_multiple_description\">Description</option><option value=\"automation_multiple_attachment\">Attachment</option><option value=\"automation_multiple_status\">Status</option><option value=\"automation_multiple_reject_reason\">Reject reason</option></select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"966\" style=\"width: 260.125px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\" aria-labelledby=\"select2-automation_multiple_condition-mf-container\"><span class=\"select2-selection__rendered\" id=\"select2-automation_multiple_condition-mf-container\" role=\"textbox\" aria-readonly=\"true\" title=\"Is Active\">Is Active</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span></td>\r\n <td>\r\n <select name=\"condition\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" data-select2-id=\"542\" tabindex=\"-1\" aria-hidden=\"true\">\r\n <option value=\"==\" data-select2-id=\"544\">==</option>\r\n <option value=\"!=\">!=</option>\r\n </select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"967\" style=\"width: 98.7656px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\" aria-labelledby=\"select2-condition-ct-container\"><span class=\"select2-selection__rendered\" id=\"select2-condition-ct-container\" role=\"textbox\" aria-readonly=\"true\" title=\"==\">==</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td class=\"condition-value-th\"><div class=\"oh-switch\" style=\"width: 30px;\"><input type=\"checkbox\" name=\"automation_multiple_condition\" class=\"oh-switch__checkbox oh-switch__checkbox\" checked=\"checked\" value=\"on\"></div></td>\r\n <td>\r\n <select name=\"logic\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" data-select2-id=\"545\" tabindex=\"-1\" aria-hidden=\"true\">\r\n <option value=\"and\" data-select2-id=\"547\">And</option>\r\n <option value=\"or\">Or</option>\r\n </select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"968\" style=\"width: 75.4375px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\" aria-labelledby=\"select2-logic-4i-container\"><span class=\"select2-selection__rendered\" id=\"select2-logic-4i-container\" role=\"textbox\" aria-readonly=\"true\" title=\"And\">And</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td>\r\n <div class=\"oh-btn-group\">\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n var clonedElement = $(this).closest('tr').clone();\r\n totalRows ='C' +( $(this).closest('table').find('.dynamic-condition-row').length + 1);\r\n clonedElement.find('.sn').html(totalRows)\r\n clonedElement.find('select').parent().find('span').remove()\r\n clonedElement.find('select').attr('class','w-100')\r\n\r\n $(this).closest('tr').parent().append(clonedElement)\r\n $('#multipleConditionTable').find('select').select2()\r\n \">\r\n <ion-icon name=\"copy-outline\" role=\"img\" class=\"md hydrated\"></ion-icon> \r\n </button>\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n $(this).closest('tr').remove();\r\n \">\r\n <ion-icon name=\"trash-outline\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </button>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n \r\n \r\n </tbody></table>",
|
|
"condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and",
|
|
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
|
|
"also_sent_to": [],
|
|
"template_attachments": []
|
|
}
|
|
},
|
|
{
|
|
"model": "horilla_automations.mailautomation",
|
|
"pk": 3,
|
|
"fields": {
|
|
"created_at": "2025-04-30T06:35:03.575Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": true,
|
|
"title": "New Candidate Automation",
|
|
"method_title": "new_candidate_automation",
|
|
"model": "recruitment.models.Candidate",
|
|
"mail_to": "['recruitment_id__recruitment_managers__get_mail', 'stage_id__stage_managers__get_mail']",
|
|
"mail_details": "referral__employee_work_info__reporting_manager_id__pk",
|
|
"mail_detail_choice": "",
|
|
"trigger": "on_create",
|
|
"mail_template": 3,
|
|
"delivary_channel": "email",
|
|
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{"name":"automation_multiple_is_active","type":"CheckboxInput","label":"Is Active","required":false},{"name":"automation_multiple_name","type":"TextInput","label":"Name","required":true,"max_length":100},{"name":"automation_multiple_profile","type":"ClearableFileInput","label":"Profile","required":true},{"name":"automation_multiple_portfolio","type":"URLInput","label":"Portfolio","required":false,"max_length":200},{"name":"automation_multiple_recruitment_id","type":"Select","label":"Recruitment","required":true,"options":[{"value":"","label":"---------"}],"related_fields":[]},{"name":"automation_multiple_recruitment_id__title","type":"TextInput","label":"Title | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__description","type":"Textarea","label":"Description | Recruitment","required":true},{"name":"automation_multiple_recruitment_id__is_event_based","type":"CheckboxInput","label":"Is event based | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__closed","type":"CheckboxInput","label":"Closed | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__is_published","type":"CheckboxInput","label":"Is published | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__is_active","type":"CheckboxInput","label":"Is active | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__open_positions","type":"SelectMultiple","label":"Open positions | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__vacancy","type":"NumberInput","label":"Vacancy | Recruitment","required":true},{"name":"automation_multiple_recruitment_id__recruitment_managers","type":"SelectMultiple","label":"Recruitment managers | Recruitment","required":true,"options":[{"value":1,"label":"Adam Luis (PEP#00)"}]},{"name":"automation_multiple_recruitment_id__survey_templates","type":"SelectMultiple","label":"Survey templates | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__company_id","type":"Select","label":"Company | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__start_date","type":"DateInput","label":"Start date | Recruitment","required":true},{"name":"automation_multiple_recruitment_id__end_date","type":"DateInput","label":"End date | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__skills","type":"SelectMultiple","label":"Skills | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__optional_profile_image","type":"CheckboxInput","label":"Optional profile image | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__optional_resume","type":"CheckboxInput","label":"Optional resume | Recruitment","required":false},{"name":"automation_multiple_job_position_id","type":"Select","label":"Job Position","required":false,"options":[{"value":"","label":"---------"}],"related_fields":[]},{"name":"automation_multiple_job_position_id__is_active","type":"CheckboxInput","label":"Is active | Job Position","required":false},{"name":"automation_multiple_job_position_id__job_position","type":"TextInput","label":"Job position | Job Position","required":true},{"name":"automation_multiple_job_position_id__department_id","type":"Select","label":"Department | Job Position","required":true},{"name":"automation_multiple_job_position_id__company_id","type":"SelectMultiple","label":"Company | Job Position","required":false},{"name":"automation_multiple_stage_id","type":"Select","label":"Stage","required":true,"options":[{"value":"","label":"---------"}],"related_fields":[]},{"name":"automation_multiple_stage_id__is_active","type":"CheckboxInput","label":"Is active | Stage","required":false},{"name":"automation_multiple_stage_id__recruitment_id","type":"Select","label":"Recruitment | Stage","required":true},{"name":"automation_multiple_stage_id__stage_managers","type":"SelectMultiple","label":"Stage managers | Stage","required":true,"options":[{"value":1,"label":"Adam Luis (PEP#00)"}]},{"name":"automation_multiple_stage_id__stage","type":"TextInput","label":"Stage | Stage","required":true},{"name":"automation_multiple_stage_id__stage_type","type":"Select","label":"Stage type | Stage","required":true,"options":[{"value":"initial","label":"Initial"},{"value":"applied","label":"Applied"},{"value":"test","label":"Test"},{"value":"interview","label":"Interview"},{"value":"cancelled","label":"Cancelled"},{"value":"hired","label":"Hired"}]},{"name":"automation_multiple_stage_id__sequence","type":"NumberInput","label":"Sequence | Stage","required":true},{"name":"automation_multiple_converted_employee_id","type":"Select","label":"Employee","required":false,"options":[{"value":"","label":"---------"},{"value":"1","label":"Adam Luis (PEP#00)"}],"related_fields":[]},{"name":"automation_multiple_converted_employee_id__badge_id","type":"TextInput","label":"Badge id | Employee","required":false},{"name":"automation_multiple_converted_employee_id__employee_user_id","type":"Select","label":"User | Employee","required":false,"options":[{"value":1,"label":"admin"}]},{"name":"automation_multiple_converted_employee_id__employee_first_name","type":"TextInput","label":"First name | Employee","required":true},{"name":"automation_multiple_converted_employee_id__employee_last_name","type":"TextInput","label":"Last name | Employee","required":false},{"name":"automation_multiple_converted_employee_id__employee_profile","type":"ClearableFileInput","label":"Employee profile | Employee","required":false},{"name":"automation_multiple_converted_employee_id__email","type":"EmailInput","label":"Email | Employee","required":true},{"name":"automation_multiple_converted_employee_id__phone","type":"TextInput","label":"Phone | Employee","required":true},{"name":"automation_multiple_converted_employee_id__address","type":"Textarea","label":"Address | Employee","required":false},{"name":"automation_multiple_converted_employee_id__country","type":"TextInput","label":"Country | Employee","required":false},{"name":"automation_multiple_converted_employee_id__state","type":"TextInput","label":"State | Employee","required":false},{"name":"automation_multiple_converted_employee_id__city","type":"TextInput","label":"City | Employee","required":false},{"name":"automation_multiple_converted_employee_id__zip","type":"TextInput","label":"Zip | Employee","required":false},{"name":"automation_multiple_converted_employee_id__dob","type":"DateInput","label":"Dob | Employee","required":false},{"name":"automation_multiple_converted_employee_id__gender","type":"Select","label":"Gender | Employee","required":true,"options":[{"value":"male","label":"Male"},{"value":"female","label":"Female"},{"value":"other","label":"Other"}]},{"name":"automation_multiple_converted_employee_id__qualification","type":"TextInput","label":"Qualification | Employee","required":false},{"name":"automation_multiple_converted_employee_id__experience","type":"NumberInput","label":"Experience | Employee","required":false},{"name":"automation_multiple_converted_employee_id__marital_status","type":"Select","label":"Marital status | Employee","required":false,"options":[{"value":"","label":"---------"},{"value":"single","label":"Single"},{"value":"married","label":"Married"},{"value":"divorced","label":"Divorced"}]},{"name":"automation_multiple_converted_employee_id__children","type":"NumberInput","label":"Children | Employee","required":false},{"name":"automation_multiple_converted_employee_id__emergency_contact","type":"TextInput","label":"Emergency contact | Employee","required":false},{"name":"automation_multiple_converted_employee_id__emergency_contact_name","type":"TextInput","label":"Emergency contact name | Employee","required":false},{"name":"automation_multiple_converted_employee_id__emergency_contact_relation","type":"TextInput","label":"Emergency contact relation | Employee","required":false},{"name":"automation_multiple_converted_employee_id__is_active","type":"CheckboxInput","label":"Is active | Employee","required":false},{"name":"automation_multiple_converted_employee_id__additional_info","type":"Textarea","label":"Additional info | Employee","required":false},{"name":"automation_multiple_schedule_date","type":"DateTimeInput","label":"Schedule date","required":false},{"name":"automation_multiple_email","type":"EmailInput","label":"Email","required":true,"max_length":254},{"name":"automation_multiple_mobile","type":"TextInput","label":"Phone","required":false,"max_length":15},{"name":"automation_multiple_resume","type":"ClearableFileInput","label":"Resume","required":true},{"name":"automation_multiple_referral","type":"Select","label":"Referral","required":false,"options":[{"value":"","label":"---------"},{"value":"1","label":"Adam Luis (PEP#00)"}],"related_fields":[]},{"name":"automation_multiple_referral__badge_id","type":"TextInput","label":"Badge id | Referral","required":false},{"name":"automation_multiple_referral__employee_user_id","type":"Select","label":"User | Referral","required":false,"options":[{"value":1,"label":"admin"}]},{"name":"automation_multiple_referral__employee_first_name","type":"TextInput","label":"First name | Referral","required":true},{"name":"automation_multiple_referral__employee_last_name","type":"TextInput","label":"Last name | Referral","required":false},{"name":"automation_multiple_referral__employee_profile","type":"ClearableFileInput","label":"Employee profile | Referral","required":false},{"name":"automation_multiple_referral__email","type":"EmailInput","label":"Email | Referral","required":true},{"name":"automation_multiple_referral__phone","type":"TextInput","label":"Phone | Referral","required":true},{"name":"automation_multiple_referral__address","type":"Textarea","label":"Address | Referral","required":false},{"name":"automation_multiple_referral__country","type":"TextInput","label":"Country | Referral","required":false},{"name":"automation_multiple_referral__state","type":"TextInput","label":"State | Referral","required":false},{"name":"automation_multiple_referral__city","type":"TextInput","label":"City | Referral","required":false},{"name":"automation_multiple_referral__zip","type":"TextInput","label":"Zip | Referral","required":false},{"name":"automation_multiple_referral__dob","type":"DateInput","label":"Dob | Referral","required":false},{"name":"automation_multiple_referral__gender","type":"Select","label":"Gender | Referral","required":true,"options":[{"value":"male","label":"Male"},{"value":"female","label":"Female"},{"value":"other","label":"Other"}]},{"name":"automation_multiple_referral__qualification","type":"TextInput","label":"Qualification | Referral","required":false},{"name":"automation_multiple_referral__experience","type":"NumberInput","label":"Experience | Referral","required":false},{"name":"automation_multiple_referral__marital_status","type":"Select","label":"Marital status | Referral","required":false,"options":[{"value":"","label":"---------"},{"value":"single","label":"Single"},{"value":"married","label":"Married"},{"value":"divorced","label":"Divorced"}]},{"name":"automation_multiple_referral__children","type":"NumberInput","label":"Children | Referral","required":false},{"name":"automation_multiple_referral__emergency_contact","type":"TextInput","label":"Emergency contact | Referral","required":false},{"name":"automation_multiple_referral__emergency_contact_name","type":"TextInput","label":"Emergency contact name | Referral","required":false},{"name":"automation_multiple_referral__emergency_contact_relation","type":"TextInput","label":"Emergency contact relation | Referral","required":false},{"name":"automation_multiple_referral__is_active","type":"CheckboxInput","label":"Is active | Referral","required":false},{"name":"automation_multiple_referral__additional_info","type":"Textarea","label":"Additional info | Referral","required":false},{"name":"automation_multiple_address","type":"Textarea","label":"Address","required":false,"max_length":255},{"name":"automation_multiple_country","type":"TextInput","label":"Country","required":false,"max_length":30},{"name":"automation_multiple_dob","type":"DateInput","label":"Date of Birth","required":false},{"name":"automation_multiple_state","type":"TextInput","label":"State","required":false,"max_length":30},{"name":"automation_multiple_city","type":"TextInput","label":"City","required":false,"max_length":30},{"name":"automation_multiple_zip","type":"TextInput","label":"Zip Code","required":false,"max_length":30},{"name":"automation_multiple_gender","type":"Select","label":"Gender","required":true,"options":[{"value":"male","label":"Male"},{"value":"female","label":"Female"},{"value":"other","label":"Other"}]},{"name":"automation_multiple_source","type":"Select","label":"Source","required":false,"options":[{"value":"","label":"---------"},{"value":"application","label":"Application Form"},{"value":"software","label":"Inside software"},{"value":"other","label":"Other"}]},{"name":"automation_multiple_start_onboard","type":"CheckboxInput","label":"Start Onboard","required":false},{"name":"automation_multiple_hired","type":"CheckboxInput","label":"Hired","required":false},{"name":"automation_multiple_canceled","type":"CheckboxInput","label":"Canceled","required":false},{"name":"automation_multiple_converted","type":"CheckboxInput","label":"Converted","required":false},{"name":"automation_multiple_joining_date","type":"DateInput","label":"Joining Date","required":false},{"name":"automation_multiple_sequence","type":"NumberInput","label":"Sequence","required":true}]\" data-select2-id=\"1182\" tabindex=\"-1\" aria-hidden=\"true\" name=\"automation_multiple_condition\"><option value=\"automation_multiple_is_active\" data-select2-id=\"1184\" selected=\"selected\">Is Active</option><option value=\"automation_multiple_name\">Name</option><option value=\"automation_multiple_profile\">Profile</option><option value=\"automation_multiple_portfolio\">Portfolio</option><option value=\"automation_multiple_recruitment_id\">Recruitment</option><option value=\"automation_multiple_recruitment_id__title\">Title | Recruitment</option><option value=\"automation_multiple_recruitment_id__description\">Description | Recruitment</option><option value=\"automation_multiple_recruitment_id__is_event_based\">Is event based | Recruitment</option><option value=\"automation_multiple_recruitment_id__closed\">Closed | Recruitment</option><option value=\"automation_multiple_recruitment_id__is_published\">Is published | Recruitment</option><option value=\"automation_multiple_recruitment_id__is_active\">Is active | Recruitment</option><option value=\"automation_multiple_recruitment_id__open_positions\">Open positions | Recruitment</option><option value=\"automation_multiple_recruitment_id__vacancy\">Vacancy | Recruitment</option><option value=\"automation_multiple_recruitment_id__recruitment_managers\">Recruitment managers | Recruitment</option><option value=\"automation_multiple_recruitment_id__survey_templates\">Survey templates | Recruitment</option><option value=\"automation_multiple_recruitment_id__company_id\">Company | Recruitment</option><option value=\"automation_multiple_recruitment_id__start_date\">Start date | Recruitment</option><option value=\"automation_multiple_recruitment_id__end_date\">End date | Recruitment</option><option value=\"automation_multiple_recruitment_id__skills\">Skills | Recruitment</option><option value=\"automation_multiple_recruitment_id__optional_profile_image\">Optional profile image | Recruitment</option><option value=\"automation_multiple_recruitment_id__optional_resume\">Optional resume | Recruitment</option><option value=\"automation_multiple_job_position_id\">Job Position</option><option value=\"automation_multiple_job_position_id__is_active\">Is active | Job Position</option><option value=\"automation_multiple_job_position_id__job_position\">Job position | Job Position</option><option value=\"automation_multiple_job_position_id__department_id\">Department | Job Position</option><option value=\"automation_multiple_job_position_id__company_id\">Company | Job Position</option><option value=\"automation_multiple_stage_id\">Stage</option><option value=\"automation_multiple_stage_id__is_active\">Is active | Stage</option><option value=\"automation_multiple_stage_id__recruitment_id\">Recruitment | Stage</option><option value=\"automation_multiple_stage_id__stage_managers\">Stage managers | Stage</option><option value=\"automation_multiple_stage_id__stage\">Stage | Stage</option><option value=\"automation_multiple_stage_id__stage_type\">Stage type | Stage</option><option value=\"automation_multiple_stage_id__sequence\">Sequence | Stage</option><option value=\"automation_multiple_converted_employee_id\">Employee</option><option value=\"automation_multiple_converted_employee_id__badge_id\">Badge id | Employee</option><option value=\"automation_multiple_converted_employee_id__employee_user_id\">User | Employee</option><option value=\"automation_multiple_converted_employee_id__employee_first_name\">First name | Employee</option><option value=\"automation_multiple_converted_employee_id__employee_last_name\">Last name | Employee</option><option value=\"automation_multiple_converted_employee_id__employee_profile\">Employee profile | Employee</option><option value=\"automation_multiple_converted_employee_id__email\">Email | Employee</option><option value=\"automation_multiple_converted_employee_id__phone\">Phone | Employee</option><option value=\"automation_multiple_converted_employee_id__address\">Address | Employee</option><option value=\"automation_multiple_converted_employee_id__country\">Country | Employee</option><option value=\"automation_multiple_converted_employee_id__state\">State | Employee</option><option value=\"automation_multiple_converted_employee_id__city\">City | Employee</option><option value=\"automation_multiple_converted_employee_id__zip\">Zip | Employee</option><option value=\"automation_multiple_converted_employee_id__dob\">Dob | Employee</option><option value=\"automation_multiple_converted_employee_id__gender\">Gender | Employee</option><option value=\"automation_multiple_converted_employee_id__qualification\">Qualification | Employee</option><option value=\"automation_multiple_converted_employee_id__experience\">Experience | Employee</option><option value=\"automation_multiple_converted_employee_id__marital_status\">Marital status | Employee</option><option value=\"automation_multiple_converted_employee_id__children\">Children | Employee</option><option value=\"automation_multiple_converted_employee_id__emergency_contact\">Emergency contact | Employee</option><option value=\"automation_multiple_converted_employee_id__emergency_contact_name\">Emergency contact name | Employee</option><option value=\"automation_multiple_converted_employee_id__emergency_contact_relation\">Emergency contact relation | Employee</option><option value=\"automation_multiple_converted_employee_id__is_active\">Is active | Employee</option><option value=\"automation_multiple_converted_employee_id__additional_info\">Additional info | Employee</option><option value=\"automation_multiple_schedule_date\">Schedule date</option><option value=\"automation_multiple_email\">Email</option><option value=\"automation_multiple_mobile\">Phone</option><option value=\"automation_multiple_resume\">Resume</option><option value=\"automation_multiple_referral\">Referral</option><option value=\"automation_multiple_referral__badge_id\">Badge id | Referral</option><option value=\"automation_multiple_referral__employee_user_id\">User | Referral</option><option value=\"automation_multiple_referral__employee_first_name\">First name | Referral</option><option value=\"automation_multiple_referral__employee_last_name\">Last name | Referral</option><option value=\"automation_multiple_referral__employee_profile\">Employee profile | Referral</option><option value=\"automation_multiple_referral__email\">Email | Referral</option><option value=\"automation_multiple_referral__phone\">Phone | Referral</option><option value=\"automation_multiple_referral__address\">Address | Referral</option><option value=\"automation_multiple_referral__country\">Country | Referral</option><option value=\"automation_multiple_referral__state\">State | Referral</option><option value=\"automation_multiple_referral__city\">City | Referral</option><option value=\"automation_multiple_referral__zip\">Zip | Referral</option><option value=\"automation_multiple_referral__dob\">Dob | Referral</option><option value=\"automation_multiple_referral__gender\">Gender | Referral</option><option value=\"automation_multiple_referral__qualification\">Qualification | Referral</option><option value=\"automation_multiple_referral__experience\">Experience | Referral</option><option value=\"automation_multiple_referral__marital_status\">Marital status | Referral</option><option value=\"automation_multiple_referral__children\">Children | Referral</option><option value=\"automation_multiple_referral__emergency_contact\">Emergency contact | Referral</option><option value=\"automation_multiple_referral__emergency_contact_name\">Emergency contact name | Referral</option><option value=\"automation_multiple_referral__emergency_contact_relation\">Emergency contact relation | Referral</option><option value=\"automation_multiple_referral__is_active\">Is active | Referral</option><option value=\"automation_multiple_referral__additional_info\">Additional info | Referral</option><option value=\"automation_multiple_address\">Address</option><option value=\"automation_multiple_country\">Country</option><option value=\"automation_multiple_dob\">Date of Birth</option><option value=\"automation_multiple_state\">State</option><option value=\"automation_multiple_city\">City</option><option value=\"automation_multiple_zip\">Zip Code</option><option value=\"automation_multiple_gender\">Gender</option><option value=\"automation_multiple_source\">Source</option><option value=\"automation_multiple_start_onboard\">Start Onboard</option><option value=\"automation_multiple_hired\">Hired</option><option value=\"automation_multiple_canceled\">Canceled</option><option value=\"automation_multiple_converted\">Converted</option><option value=\"automation_multiple_joining_date\">Joining Date</option><option value=\"automation_multiple_sequence\">Sequence</option></select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"1183\" style=\"width: 250.672px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"0\" aria-disabled=\"false\" aria-labelledby=\"select2-53ts-container\"><span class=\"select2-selection__rendered\" id=\"select2-53ts-container\" role=\"textbox\" aria-readonly=\"true\" title=\"Is Active\">Is Active</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span></td>\r\n <td>\r\n <select name=\"condition\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" data-select2-id=\"1185\" tabindex=\"-1\" aria-hidden=\"true\">\r\n <option value=\"==\" data-select2-id=\"1187\">==</option>\r\n <option value=\"!=\">!=</option>\r\n </select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"1186\" style=\"width: 93.8281px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"0\" aria-disabled=\"false\" aria-labelledby=\"select2-condition-d1-container\"><span class=\"select2-selection__rendered\" id=\"select2-condition-d1-container\" role=\"textbox\" aria-readonly=\"true\" title=\"==\">==</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td class=\"condition-value-th\"><div class=\"oh-switch\" style=\"width: 30px;\"><input type=\"checkbox\" name=\"automation_multiple_condition\" class=\"oh-switch__checkbox oh-switch__checkbox\" checked=\"checked\" value=\"on\"></div></td>\r\n <td>\r\n <select name=\"logic\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" data-select2-id=\"1188\" tabindex=\"-1\" aria-hidden=\"true\">\r\n <option value=\"and\" data-select2-id=\"1190\">And</option>\r\n <option value=\"or\">Or</option>\r\n </select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"1189\" style=\"width: 71.5781px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"0\" aria-disabled=\"false\" aria-labelledby=\"select2-logic-ru-container\"><span class=\"select2-selection__rendered\" id=\"select2-logic-ru-container\" role=\"textbox\" aria-readonly=\"true\" title=\"And\">And</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td>\r\n <div class=\"oh-btn-group\">\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n var clonedElement = $(this).closest('tr').clone();\r\n totalRows ='C' +( $(this).closest('table').find('.dynamic-condition-row').length + 1);\r\n clonedElement.find('.sn').html(totalRows)\r\n clonedElement.find('select').parent().find('span').remove()\r\n clonedElement.find('select').attr('class','w-100')\r\n\r\n $(this).closest('tr').parent().append(clonedElement)\r\n $('#multipleConditionTable').find('select').select2()\r\n \">\r\n <ion-icon name=\"copy-outline\" role=\"img\" class=\"md hydrated\"></ion-icon> \r\n </button>\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n $(this).closest('tr').remove();\r\n \">\r\n <ion-icon name=\"trash-outline\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </button>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n \r\n \r\n </tbody></table>",
|
|
"condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and",
|
|
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
|
|
"also_sent_to": [],
|
|
"template_attachments": []
|
|
}
|
|
},
|
|
{
|
|
"model": "horilla_automations.mailautomation",
|
|
"pk": 4,
|
|
"fields": {
|
|
"created_at": "2025-04-30T06:35:03.600Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": true,
|
|
"title": "Interview Automation",
|
|
"method_title": "interview_automation",
|
|
"model": "recruitment.models.InterviewSchedule",
|
|
"mail_to": "['employee_id__employee_work_info__reporting_manager_id__get_email']",
|
|
"mail_details": "candidate_id__pk",
|
|
"mail_detail_choice": "",
|
|
"trigger": "on_create",
|
|
"mail_template": 4,
|
|
"delivary_channel": "email",
|
|
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{"name":"automation_multiple_is_active","type":"CheckboxInput","label":"Is Active","required":false},{"name":"automation_multiple_candidate_id","type":"Select","label":"Candidate","required":true,"options":[{"value":"","label":"---------"}],"related_fields":[]},{"name":"automation_multiple_candidate_id__is_active","type":"CheckboxInput","label":"Is active | Candidate","required":false},{"name":"automation_multiple_candidate_id__name","type":"TextInput","label":"Name | Candidate","required":true},{"name":"automation_multiple_candidate_id__profile","type":"ClearableFileInput","label":"Profile | Candidate","required":true},{"name":"automation_multiple_candidate_id__portfolio","type":"URLInput","label":"Portfolio | Candidate","required":false},{"name":"automation_multiple_candidate_id__recruitment_id","type":"Select","label":"Recruitment | Candidate","required":true},{"name":"automation_multiple_candidate_id__job_position_id","type":"Select","label":"Job position | Candidate","required":false},{"name":"automation_multiple_candidate_id__stage_id","type":"Select","label":"Stage | Candidate","required":true},{"name":"automation_multiple_candidate_id__converted_employee_id","type":"Select","label":"Employee | Candidate","required":false,"options":[{"value":1,"label":"Adam Luis (PEP#00)"}]},{"name":"automation_multiple_candidate_id__schedule_date","type":"DateTimeInput","label":"Schedule date | Candidate","required":false},{"name":"automation_multiple_candidate_id__email","type":"EmailInput","label":"Email | Candidate","required":true},{"name":"automation_multiple_candidate_id__mobile","type":"TextInput","label":"Phone | Candidate","required":false},{"name":"automation_multiple_candidate_id__resume","type":"ClearableFileInput","label":"Resume | Candidate","required":true},{"name":"automation_multiple_candidate_id__referral","type":"Select","label":"Referral | Candidate","required":false,"options":[{"value":1,"label":"Adam Luis (PEP#00)"}]},{"name":"automation_multiple_candidate_id__address","type":"Textarea","label":"Address | Candidate","required":false},{"name":"automation_multiple_candidate_id__country","type":"TextInput","label":"Country | Candidate","required":false},{"name":"automation_multiple_candidate_id__dob","type":"DateInput","label":"Date of birth | Candidate","required":false},{"name":"automation_multiple_candidate_id__state","type":"TextInput","label":"State | Candidate","required":false},{"name":"automation_multiple_candidate_id__city","type":"TextInput","label":"City | Candidate","required":false},{"name":"automation_multiple_candidate_id__zip","type":"TextInput","label":"Zip code | Candidate","required":false},{"name":"automation_multiple_candidate_id__gender","type":"Select","label":"Gender | Candidate","required":true,"options":[{"value":"male","label":"Male"},{"value":"female","label":"Female"},{"value":"other","label":"Other"}]},{"name":"automation_multiple_candidate_id__source","type":"Select","label":"Source | Candidate","required":false,"options":[{"value":"","label":"---------"},{"value":"application","label":"Application Form"},{"value":"software","label":"Inside software"},{"value":"other","label":"Other"}]},{"name":"automation_multiple_candidate_id__start_onboard","type":"CheckboxInput","label":"Start onboard | Candidate","required":false},{"name":"automation_multiple_candidate_id__hired","type":"CheckboxInput","label":"Hired | Candidate","required":false},{"name":"automation_multiple_candidate_id__canceled","type":"CheckboxInput","label":"Canceled | Candidate","required":false},{"name":"automation_multiple_candidate_id__converted","type":"CheckboxInput","label":"Converted | Candidate","required":false},{"name":"automation_multiple_candidate_id__joining_date","type":"DateInput","label":"Joining date | Candidate","required":false},{"name":"automation_multiple_candidate_id__sequence","type":"NumberInput","label":"Sequence | Candidate","required":true},{"name":"automation_multiple_employee_id","type":"SelectMultiple","label":"Interviewer","required":true,"options":[{"value":"1","label":"Adam Luis (PEP#00)"}],"related_fields":[]},{"name":"automation_multiple_employee_id__badge_id","type":"TextInput","label":"Badge id | Interviewer","required":false},{"name":"automation_multiple_employee_id__employee_user_id","type":"Select","label":"User | Interviewer","required":false,"options":[{"value":1,"label":"admin"}]},{"name":"automation_multiple_employee_id__employee_first_name","type":"TextInput","label":"First name | Interviewer","required":true},{"name":"automation_multiple_employee_id__employee_last_name","type":"TextInput","label":"Last name | Interviewer","required":false},{"name":"automation_multiple_employee_id__employee_profile","type":"ClearableFileInput","label":"Employee profile | Interviewer","required":false},{"name":"automation_multiple_employee_id__email","type":"EmailInput","label":"Email | Interviewer","required":true},{"name":"automation_multiple_employee_id__phone","type":"TextInput","label":"Phone | Interviewer","required":true},{"name":"automation_multiple_employee_id__address","type":"Textarea","label":"Address | Interviewer","required":false},{"name":"automation_multiple_employee_id__country","type":"TextInput","label":"Country | Interviewer","required":false},{"name":"automation_multiple_employee_id__state","type":"TextInput","label":"State | Interviewer","required":false},{"name":"automation_multiple_employee_id__city","type":"TextInput","label":"City | Interviewer","required":false},{"name":"automation_multiple_employee_id__zip","type":"TextInput","label":"Zip | Interviewer","required":false},{"name":"automation_multiple_employee_id__dob","type":"DateInput","label":"Dob | Interviewer","required":false},{"name":"automation_multiple_employee_id__gender","type":"Select","label":"Gender | Interviewer","required":true,"options":[{"value":"male","label":"Male"},{"value":"female","label":"Female"},{"value":"other","label":"Other"}]},{"name":"automation_multiple_employee_id__qualification","type":"TextInput","label":"Qualification | Interviewer","required":false},{"name":"automation_multiple_employee_id__experience","type":"NumberInput","label":"Experience | Interviewer","required":false},{"name":"automation_multiple_employee_id__marital_status","type":"Select","label":"Marital status | Interviewer","required":false,"options":[{"value":"","label":"---------"},{"value":"single","label":"Single"},{"value":"married","label":"Married"},{"value":"divorced","label":"Divorced"}]},{"name":"automation_multiple_employee_id__children","type":"NumberInput","label":"Children | Interviewer","required":false},{"name":"automation_multiple_employee_id__emergency_contact","type":"TextInput","label":"Emergency contact | Interviewer","required":false},{"name":"automation_multiple_employee_id__emergency_contact_name","type":"TextInput","label":"Emergency contact name | Interviewer","required":false},{"name":"automation_multiple_employee_id__emergency_contact_relation","type":"TextInput","label":"Emergency contact relation | Interviewer","required":false},{"name":"automation_multiple_employee_id__is_active","type":"CheckboxInput","label":"Is active | Interviewer","required":false},{"name":"automation_multiple_employee_id__additional_info","type":"Textarea","label":"Additional info | Interviewer","required":false},{"name":"automation_multiple_interview_date","type":"DateInput","label":"Interview Date","required":true},{"name":"automation_multiple_interview_time","type":"TimeInput","label":"Interview Time","required":true},{"name":"automation_multiple_description","type":"Textarea","label":"Description","required":false,"max_length":255},{"name":"automation_multiple_completed","type":"CheckboxInput","label":"Is Interview Completed","required":false}]\" data-select2-id=\"251\" tabindex=\"-1\" aria-hidden=\"true\" name=\"automation_multiple_condition\"><option value=\"automation_multiple_is_active\" data-select2-id=\"253\" selected=\"selected\">Is Active</option><option value=\"automation_multiple_candidate_id\">Candidate</option><option value=\"automation_multiple_candidate_id__is_active\">Is active | Candidate</option><option value=\"automation_multiple_candidate_id__name\">Name | Candidate</option><option value=\"automation_multiple_candidate_id__profile\">Profile | Candidate</option><option value=\"automation_multiple_candidate_id__portfolio\">Portfolio | Candidate</option><option value=\"automation_multiple_candidate_id__recruitment_id\">Recruitment | Candidate</option><option value=\"automation_multiple_candidate_id__job_position_id\">Job position | Candidate</option><option value=\"automation_multiple_candidate_id__stage_id\">Stage | Candidate</option><option value=\"automation_multiple_candidate_id__converted_employee_id\">Employee | Candidate</option><option value=\"automation_multiple_candidate_id__schedule_date\">Schedule date | Candidate</option><option value=\"automation_multiple_candidate_id__email\">Email | Candidate</option><option value=\"automation_multiple_candidate_id__mobile\">Phone | Candidate</option><option value=\"automation_multiple_candidate_id__resume\">Resume | Candidate</option><option value=\"automation_multiple_candidate_id__referral\">Referral | Candidate</option><option value=\"automation_multiple_candidate_id__address\">Address | Candidate</option><option value=\"automation_multiple_candidate_id__country\">Country | Candidate</option><option value=\"automation_multiple_candidate_id__dob\">Date of birth | Candidate</option><option value=\"automation_multiple_candidate_id__state\">State | Candidate</option><option value=\"automation_multiple_candidate_id__city\">City | Candidate</option><option value=\"automation_multiple_candidate_id__zip\">Zip code | Candidate</option><option value=\"automation_multiple_candidate_id__gender\">Gender | Candidate</option><option value=\"automation_multiple_candidate_id__source\">Source | Candidate</option><option value=\"automation_multiple_candidate_id__start_onboard\">Start onboard | Candidate</option><option value=\"automation_multiple_candidate_id__hired\">Hired | Candidate</option><option value=\"automation_multiple_candidate_id__canceled\">Canceled | Candidate</option><option value=\"automation_multiple_candidate_id__converted\">Converted | Candidate</option><option value=\"automation_multiple_candidate_id__joining_date\">Joining date | Candidate</option><option value=\"automation_multiple_candidate_id__sequence\">Sequence | Candidate</option><option value=\"automation_multiple_employee_id\">Interviewer</option><option value=\"automation_multiple_employee_id__badge_id\">Badge id | Interviewer</option><option value=\"automation_multiple_employee_id__employee_user_id\">User | Interviewer</option><option value=\"automation_multiple_employee_id__employee_first_name\">First name | Interviewer</option><option value=\"automation_multiple_employee_id__employee_last_name\">Last name | Interviewer</option><option value=\"automation_multiple_employee_id__employee_profile\">Employee profile | Interviewer</option><option value=\"automation_multiple_employee_id__email\">Email | Interviewer</option><option value=\"automation_multiple_employee_id__phone\">Phone | Interviewer</option><option value=\"automation_multiple_employee_id__address\">Address | Interviewer</option><option value=\"automation_multiple_employee_id__country\">Country | Interviewer</option><option value=\"automation_multiple_employee_id__state\">State | Interviewer</option><option value=\"automation_multiple_employee_id__city\">City | Interviewer</option><option value=\"automation_multiple_employee_id__zip\">Zip | Interviewer</option><option value=\"automation_multiple_employee_id__dob\">Dob | Interviewer</option><option value=\"automation_multiple_employee_id__gender\">Gender | Interviewer</option><option value=\"automation_multiple_employee_id__qualification\">Qualification | Interviewer</option><option value=\"automation_multiple_employee_id__experience\">Experience | Interviewer</option><option value=\"automation_multiple_employee_id__marital_status\">Marital status | Interviewer</option><option value=\"automation_multiple_employee_id__children\">Children | Interviewer</option><option value=\"automation_multiple_employee_id__emergency_contact\">Emergency contact | Interviewer</option><option value=\"automation_multiple_employee_id__emergency_contact_name\">Emergency contact name | Interviewer</option><option value=\"automation_multiple_employee_id__emergency_contact_relation\">Emergency contact relation | Interviewer</option><option value=\"automation_multiple_employee_id__is_active\">Is active | Interviewer</option><option value=\"automation_multiple_employee_id__additional_info\">Additional info | Interviewer</option><option value=\"automation_multiple_interview_date\">Interview Date</option><option value=\"automation_multiple_interview_time\">Interview Time</option><option value=\"automation_multiple_description\">Description</option><option value=\"automation_multiple_completed\">Is Interview Completed</option></select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"252\" style=\"width: 253.781px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"0\" aria-disabled=\"false\" aria-labelledby=\"select2-7m0s-container\"><span class=\"select2-selection__rendered\" id=\"select2-7m0s-container\" role=\"textbox\" aria-readonly=\"true\" title=\"Is Active\">Is Active</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span></td>\r\n <td>\r\n <select name=\"condition\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" data-select2-id=\"254\" tabindex=\"-1\" aria-hidden=\"true\">\r\n <option value=\"==\" data-select2-id=\"256\">==</option>\r\n <option value=\"!=\">!=</option>\r\n </select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"255\" style=\"width: 93.8281px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"0\" aria-disabled=\"false\" aria-labelledby=\"select2-condition-7g-container\"><span class=\"select2-selection__rendered\" id=\"select2-condition-7g-container\" role=\"textbox\" aria-readonly=\"true\" title=\"==\">==</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td class=\"condition-value-th\"><div class=\"oh-switch\" style=\"width: 30px;\"><input type=\"checkbox\" name=\"automation_multiple_condition\" class=\"oh-switch__checkbox oh-switch__checkbox\" checked=\"checked\" value=\"on\"></div></td>\r\n <td>\r\n <select name=\"logic\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" data-select2-id=\"257\" tabindex=\"-1\" aria-hidden=\"true\">\r\n <option value=\"and\" data-select2-id=\"259\">And</option>\r\n <option value=\"or\">Or</option>\r\n </select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"258\" style=\"width: 71.5781px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"0\" aria-disabled=\"false\" aria-labelledby=\"select2-logic-7z-container\"><span class=\"select2-selection__rendered\" id=\"select2-logic-7z-container\" role=\"textbox\" aria-readonly=\"true\" title=\"And\">And</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td>\r\n <div class=\"oh-btn-group\">\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n var clonedElement = $(this).closest('tr').clone();\r\n totalRows ='C' +( $(this).closest('table').find('.dynamic-condition-row').length + 1);\r\n clonedElement.find('.sn').html(totalRows)\r\n clonedElement.find('select').parent().find('span').remove()\r\n clonedElement.find('select').attr('class','w-100')\r\n\r\n $(this).closest('tr').parent().append(clonedElement)\r\n $('#multipleConditionTable').find('select').select2()\r\n \">\r\n <ion-icon name=\"copy-outline\" role=\"img\" class=\"md hydrated\"></ion-icon> \r\n </button>\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n $(this).closest('tr').remove();\r\n \">\r\n <ion-icon name=\"trash-outline\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </button>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n \r\n \r\n </tbody></table>",
|
|
"condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and",
|
|
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
|
|
"also_sent_to": [],
|
|
"template_attachments": []
|
|
}
|
|
},
|
|
{
|
|
"model": "horilla_automations.mailautomation",
|
|
"pk": 5,
|
|
"fields": {
|
|
"created_at": "2025-04-30T06:35:03.620Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": true,
|
|
"title": "Recruitment Manager Automation",
|
|
"method_title": "recruitment_manager_automation",
|
|
"model": "recruitment.models.Recruitment",
|
|
"mail_to": "['recruitment_managers__employee_work_info__reporting_manager_id__get_email']",
|
|
"mail_details": "description",
|
|
"mail_detail_choice": "",
|
|
"trigger": "on_create",
|
|
"mail_template": 5,
|
|
"delivary_channel": "notification",
|
|
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody data-select2-id=\"1423\"><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{"name":"automation_multiple_title","type":"TextInput","label":"Title","required":false,"max_length":50},{"name":"automation_multiple_description","type":"Textarea","label":"Description","required":true,"max_length":null},{"name":"automation_multiple_is_event_based","type":"CheckboxInput","label":"Is event based","required":false},{"name":"automation_multiple_closed","type":"CheckboxInput","label":"Closed","required":false},{"name":"automation_multiple_is_published","type":"CheckboxInput","label":"Is published","required":false},{"name":"automation_multiple_is_active","type":"CheckboxInput","label":"Is active","required":false},{"name":"automation_multiple_open_positions","type":"SelectMultiple","label":"Open positions","required":false,"options":[],"related_fields":[]},{"name":"automation_multiple_open_positions__is_active","type":"CheckboxInput","label":"Is active | Open positions","required":false},{"name":"automation_multiple_open_positions__job_position","type":"TextInput","label":"Job position | Open positions","required":true},{"name":"automation_multiple_open_positions__department_id","type":"Select","label":"Department | Open positions","required":true},{"name":"automation_multiple_open_positions__company_id","type":"SelectMultiple","label":"Company | Open positions","required":false},{"name":"automation_multiple_vacancy","type":"NumberInput","label":"Vacancy","required":true},{"name":"automation_multiple_recruitment_managers","type":"SelectMultiple","label":"Recruitment managers","required":true,"options":[{"value":"1","label":"Adam Luis (PEP#00)"}],"related_fields":[]},{"name":"automation_multiple_recruitment_managers__badge_id","type":"TextInput","label":"Badge id | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__employee_user_id","type":"Select","label":"User | Recruitment managers","required":false,"options":[{"value":1,"label":"admin"}]},{"name":"automation_multiple_recruitment_managers__employee_first_name","type":"TextInput","label":"First name | Recruitment managers","required":true},{"name":"automation_multiple_recruitment_managers__employee_last_name","type":"TextInput","label":"Last name | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__employee_profile","type":"ClearableFileInput","label":"Employee profile | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__email","type":"EmailInput","label":"Email | Recruitment managers","required":true},{"name":"automation_multiple_recruitment_managers__phone","type":"TextInput","label":"Phone | Recruitment managers","required":true},{"name":"automation_multiple_recruitment_managers__address","type":"Textarea","label":"Address | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__country","type":"TextInput","label":"Country | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__state","type":"TextInput","label":"State | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__city","type":"TextInput","label":"City | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__zip","type":"TextInput","label":"Zip | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__dob","type":"DateInput","label":"Dob | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__gender","type":"Select","label":"Gender | Recruitment managers","required":true,"options":[{"value":"male","label":"Male"},{"value":"female","label":"Female"},{"value":"other","label":"Other"}]},{"name":"automation_multiple_recruitment_managers__qualification","type":"TextInput","label":"Qualification | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__experience","type":"NumberInput","label":"Experience | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__marital_status","type":"Select","label":"Marital status | Recruitment managers","required":false,"options":[{"value":"","label":"---------"},{"value":"single","label":"Single"},{"value":"married","label":"Married"},{"value":"divorced","label":"Divorced"}]},{"name":"automation_multiple_recruitment_managers__children","type":"NumberInput","label":"Children | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__emergency_contact","type":"TextInput","label":"Emergency contact | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__emergency_contact_name","type":"TextInput","label":"Emergency contact name | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__emergency_contact_relation","type":"TextInput","label":"Emergency contact relation | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__is_active","type":"CheckboxInput","label":"Is active | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__additional_info","type":"Textarea","label":"Additional info | Recruitment managers","required":false},{"name":"automation_multiple_survey_templates","type":"SelectMultiple","label":"Survey templates","required":false,"options":[],"related_fields":[]},{"name":"automation_multiple_survey_templates__is_active","type":"CheckboxInput","label":"Is active | Survey templates","required":false},{"name":"automation_multiple_survey_templates__title","type":"TextInput","label":"Title | Survey templates","required":true},{"name":"automation_multiple_survey_templates__description","type":"Textarea","label":"Description | Survey templates","required":false},{"name":"automation_multiple_survey_templates__company_id","type":"Select","label":"Company | Survey templates","required":false},{"name":"automation_multiple_company_id","type":"Select","label":"Company","required":false,"options":[{"value":"","label":"---------"}],"related_fields":[]},{"name":"automation_multiple_company_id__is_active","type":"CheckboxInput","label":"Is active | Company","required":false},{"name":"automation_multiple_company_id__company","type":"TextInput","label":"Company | Company","required":true},{"name":"automation_multiple_company_id__hq","type":"CheckboxInput","label":"Hq | Company","required":false},{"name":"automation_multiple_company_id__address","type":"Textarea","label":"Address | Company","required":true},{"name":"automation_multiple_company_id__country","type":"TextInput","label":"Country | Company","required":true},{"name":"automation_multiple_company_id__state","type":"TextInput","label":"State | Company","required":true},{"name":"automation_multiple_company_id__city","type":"TextInput","label":"City | Company","required":true},{"name":"automation_multiple_company_id__zip","type":"TextInput","label":"Zip | Company","required":true},{"name":"automation_multiple_company_id__icon","type":"ClearableFileInput","label":"Icon | Company","required":true},{"name":"automation_multiple_company_id__date_format","type":"TextInput","label":"Date format | Company","required":false},{"name":"automation_multiple_company_id__time_format","type":"TextInput","label":"Time format | Company","required":false},{"name":"automation_multiple_start_date","type":"DateInput","label":"Start date","required":true},{"name":"automation_multiple_end_date","type":"DateInput","label":"End date","required":false},{"name":"automation_multiple_skills","type":"SelectMultiple","label":"Skills","required":false,"options":[],"related_fields":[]},{"name":"automation_multiple_skills__is_active","type":"CheckboxInput","label":"Is active | Skills","required":false},{"name":"automation_multiple_skills__title","type":"TextInput","label":"Title | Skills","required":true},{"name":"automation_multiple_optional_profile_image","type":"CheckboxInput","label":"Optional profile image","required":false},{"name":"automation_multiple_optional_resume","type":"CheckboxInput","label":"Optional resume","required":false}]\" tabindex=\"-1\" aria-hidden=\"true\" name=\"automation_multiple_condition\" data-select2-id=\"1676\"><option value=\"automation_multiple_title\" data-select2-id=\"1678\">Title</option><option value=\"automation_multiple_description\" data-select2-id=\"1692\">Description</option><option value=\"automation_multiple_is_event_based\" data-select2-id=\"1693\">Is event based</option><option value=\"automation_multiple_closed\" data-select2-id=\"1694\">Closed</option><option value=\"automation_multiple_is_published\" data-select2-id=\"1695\">Is published</option><option value=\"automation_multiple_is_active\" data-select2-id=\"1696\" selected=\"selected\">Is active</option><option value=\"automation_multiple_open_positions\" data-select2-id=\"1697\">Open positions</option><option value=\"automation_multiple_open_positions__is_active\" data-select2-id=\"1698\">Is active | Open positions</option><option value=\"automation_multiple_open_positions__job_position\" data-select2-id=\"1699\">Job position | Open positions</option><option value=\"automation_multiple_open_positions__department_id\" data-select2-id=\"1700\">Department | Open positions</option><option value=\"automation_multiple_open_positions__company_id\" data-select2-id=\"1701\">Company | Open positions</option><option value=\"automation_multiple_vacancy\" data-select2-id=\"1702\">Vacancy</option><option value=\"automation_multiple_recruitment_managers\" data-select2-id=\"1703\">Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__badge_id\" data-select2-id=\"1704\">Badge id | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__employee_user_id\" data-select2-id=\"1705\">User | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__employee_first_name\" data-select2-id=\"1706\">First name | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__employee_last_name\" data-select2-id=\"1707\">Last name | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__employee_profile\" data-select2-id=\"1708\">Employee profile | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__email\" data-select2-id=\"1709\">Email | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__phone\" data-select2-id=\"1710\">Phone | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__address\" data-select2-id=\"1711\">Address | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__country\" data-select2-id=\"1712\">Country | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__state\" data-select2-id=\"1713\">State | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__city\" data-select2-id=\"1714\">City | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__zip\" data-select2-id=\"1715\">Zip | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__dob\" data-select2-id=\"1716\">Dob | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__gender\" data-select2-id=\"1717\">Gender | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__qualification\" data-select2-id=\"1718\">Qualification | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__experience\" data-select2-id=\"1719\">Experience | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__marital_status\" data-select2-id=\"1720\">Marital status | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__children\" data-select2-id=\"1721\">Children | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__emergency_contact\" data-select2-id=\"1722\">Emergency contact | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__emergency_contact_name\" data-select2-id=\"1723\">Emergency contact name | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__emergency_contact_relation\" data-select2-id=\"1724\">Emergency contact relation | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__is_active\" data-select2-id=\"1725\">Is active | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__additional_info\" data-select2-id=\"1726\">Additional info | Recruitment managers</option><option value=\"automation_multiple_survey_templates\" data-select2-id=\"1727\">Survey templates</option><option value=\"automation_multiple_survey_templates__is_active\" data-select2-id=\"1728\">Is active | Survey templates</option><option value=\"automation_multiple_survey_templates__title\" data-select2-id=\"1729\">Title | Survey templates</option><option value=\"automation_multiple_survey_templates__description\" data-select2-id=\"1730\">Description | Survey templates</option><option value=\"automation_multiple_survey_templates__company_id\" data-select2-id=\"1731\">Company | Survey templates</option><option value=\"automation_multiple_company_id\" data-select2-id=\"1732\">Company</option><option value=\"automation_multiple_company_id__is_active\" data-select2-id=\"1733\">Is active | Company</option><option value=\"automation_multiple_company_id__company\" data-select2-id=\"1734\">Company | Company</option><option value=\"automation_multiple_company_id__hq\" data-select2-id=\"1735\">Hq | Company</option><option value=\"automation_multiple_company_id__address\" data-select2-id=\"1736\">Address | Company</option><option value=\"automation_multiple_company_id__country\" data-select2-id=\"1737\">Country | Company</option><option value=\"automation_multiple_company_id__state\" data-select2-id=\"1738\">State | Company</option><option value=\"automation_multiple_company_id__city\" data-select2-id=\"1739\">City | Company</option><option value=\"automation_multiple_company_id__zip\" data-select2-id=\"1740\">Zip | Company</option><option value=\"automation_multiple_company_id__icon\" data-select2-id=\"1741\">Icon | Company</option><option value=\"automation_multiple_company_id__date_format\" data-select2-id=\"1742\">Date format | Company</option><option value=\"automation_multiple_company_id__time_format\" data-select2-id=\"1743\">Time format | Company</option><option value=\"automation_multiple_start_date\" data-select2-id=\"1744\">Start date</option><option value=\"automation_multiple_end_date\" data-select2-id=\"1745\">End date</option><option value=\"automation_multiple_skills\" data-select2-id=\"1746\">Skills</option><option value=\"automation_multiple_skills__is_active\" data-select2-id=\"1747\">Is active | Skills</option><option value=\"automation_multiple_skills__title\" data-select2-id=\"1748\">Title | Skills</option><option value=\"automation_multiple_optional_profile_image\" data-select2-id=\"1749\">Optional profile image</option><option value=\"automation_multiple_optional_resume\" data-select2-id=\"1750\">Optional resume</option></select><span class=\"select2 select2-container select2-container--default select2-container--below\" dir=\"ltr\" data-select2-id=\"1677\" style=\"width: 160.422px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"0\" aria-disabled=\"false\" aria-labelledby=\"select2-automation_multiple_condition-w6-container\"><span class=\"select2-selection__rendered\" id=\"select2-automation_multiple_condition-w6-container\" role=\"textbox\" aria-readonly=\"true\" title=\"Is active\">Is active</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span></td>\r\n <td>\r\n <select name=\"condition\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" tabindex=\"-1\" aria-hidden=\"true\" data-select2-id=\"1680\">\r\n <option value=\"==\" data-select2-id=\"1682\">==</option>\r\n <option value=\"!=\">!=</option>\r\n </select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"1681\" style=\"width: 59.7188px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"0\" aria-disabled=\"false\" aria-labelledby=\"select2-condition-8f-container\"><span class=\"select2-selection__rendered\" id=\"select2-condition-8f-container\" role=\"textbox\" aria-readonly=\"true\" title=\"==\">==</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td class=\"condition-value-th\"><div class=\"oh-switch\" style=\"width: 30px;\"><input type=\"checkbox\" name=\"automation_multiple_condition\" class=\"oh-switch__checkbox oh-switch__checkbox\" checked=\"checked\" value=\"on\"></div></td>\r\n <td data-select2-id=\"1615\">\r\n <select name=\"logic\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" tabindex=\"-1\" aria-hidden=\"true\" data-select2-id=\"1683\">\r\n <option value=\"and\" data-select2-id=\"1690\" selected=\"selected\">And</option>\r\n <option value=\"or\" data-select2-id=\"1685\">Or</option>\r\n </select><span class=\"select2 select2-container select2-container--default select2-container--below\" dir=\"ltr\" data-select2-id=\"1684\" style=\"width: 38.8594px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"0\" aria-disabled=\"false\" aria-labelledby=\"select2-logic-o2-container\"><span class=\"select2-selection__rendered\" id=\"select2-logic-o2-container\" role=\"textbox\" aria-readonly=\"true\" title=\"And\">And</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td>\r\n <div class=\"oh-btn-group\">\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n var clonedElement = $(this).closest('tr').clone();\r\n totalRows ='C' +( $(this).closest('table').find('.dynamic-condition-row').length + 1);\r\n clonedElement.find('.sn').html(totalRows)\r\n clonedElement.find('select').parent().find('span').remove()\r\n clonedElement.find('select').attr('class','w-100')\r\n\r\n $(this).closest('tr').parent().append(clonedElement)\r\n $('#multipleConditionTable').find('select').select2()\r\n \">\r\n <ion-icon name=\"copy-outline\" role=\"img\" class=\"md hydrated\"></ion-icon> \r\n </button>\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n $(this).closest('tr').remove();\r\n \">\r\n <ion-icon name=\"trash-outline\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </button>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C2</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{"name":"automation_multiple_title","type":"TextInput","label":"Title","required":false,"max_length":50},{"name":"automation_multiple_description","type":"Textarea","label":"Description","required":true,"max_length":null},{"name":"automation_multiple_is_event_based","type":"CheckboxInput","label":"Is event based","required":false},{"name":"automation_multiple_closed","type":"CheckboxInput","label":"Closed","required":false},{"name":"automation_multiple_is_published","type":"CheckboxInput","label":"Is published","required":false},{"name":"automation_multiple_is_active","type":"CheckboxInput","label":"Is active","required":false},{"name":"automation_multiple_open_positions","type":"SelectMultiple","label":"Open positions","required":false,"options":[],"related_fields":[]},{"name":"automation_multiple_open_positions__is_active","type":"CheckboxInput","label":"Is active | Open positions","required":false},{"name":"automation_multiple_open_positions__job_position","type":"TextInput","label":"Job position | Open positions","required":true},{"name":"automation_multiple_open_positions__department_id","type":"Select","label":"Department | Open positions","required":true},{"name":"automation_multiple_open_positions__company_id","type":"SelectMultiple","label":"Company | Open positions","required":false},{"name":"automation_multiple_vacancy","type":"NumberInput","label":"Vacancy","required":true},{"name":"automation_multiple_recruitment_managers","type":"SelectMultiple","label":"Recruitment managers","required":true,"options":[{"value":"1","label":"Adam Luis (PEP#00)"}],"related_fields":[]},{"name":"automation_multiple_recruitment_managers__badge_id","type":"TextInput","label":"Badge id | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__employee_user_id","type":"Select","label":"User | Recruitment managers","required":false,"options":[{"value":1,"label":"admin"}]},{"name":"automation_multiple_recruitment_managers__employee_first_name","type":"TextInput","label":"First name | Recruitment managers","required":true},{"name":"automation_multiple_recruitment_managers__employee_last_name","type":"TextInput","label":"Last name | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__employee_profile","type":"ClearableFileInput","label":"Employee profile | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__email","type":"EmailInput","label":"Email | Recruitment managers","required":true},{"name":"automation_multiple_recruitment_managers__phone","type":"TextInput","label":"Phone | Recruitment managers","required":true},{"name":"automation_multiple_recruitment_managers__address","type":"Textarea","label":"Address | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__country","type":"TextInput","label":"Country | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__state","type":"TextInput","label":"State | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__city","type":"TextInput","label":"City | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__zip","type":"TextInput","label":"Zip | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__dob","type":"DateInput","label":"Dob | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__gender","type":"Select","label":"Gender | Recruitment managers","required":true,"options":[{"value":"male","label":"Male"},{"value":"female","label":"Female"},{"value":"other","label":"Other"}]},{"name":"automation_multiple_recruitment_managers__qualification","type":"TextInput","label":"Qualification | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__experience","type":"NumberInput","label":"Experience | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__marital_status","type":"Select","label":"Marital status | Recruitment managers","required":false,"options":[{"value":"","label":"---------"},{"value":"single","label":"Single"},{"value":"married","label":"Married"},{"value":"divorced","label":"Divorced"}]},{"name":"automation_multiple_recruitment_managers__children","type":"NumberInput","label":"Children | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__emergency_contact","type":"TextInput","label":"Emergency contact | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__emergency_contact_name","type":"TextInput","label":"Emergency contact name | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__emergency_contact_relation","type":"TextInput","label":"Emergency contact relation | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__is_active","type":"CheckboxInput","label":"Is active | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__additional_info","type":"Textarea","label":"Additional info | Recruitment managers","required":false},{"name":"automation_multiple_survey_templates","type":"SelectMultiple","label":"Survey templates","required":false,"options":[],"related_fields":[]},{"name":"automation_multiple_survey_templates__is_active","type":"CheckboxInput","label":"Is active | Survey templates","required":false},{"name":"automation_multiple_survey_templates__title","type":"TextInput","label":"Title | Survey templates","required":true},{"name":"automation_multiple_survey_templates__description","type":"Textarea","label":"Description | Survey templates","required":false},{"name":"automation_multiple_survey_templates__company_id","type":"Select","label":"Company | Survey templates","required":false},{"name":"automation_multiple_company_id","type":"Select","label":"Company","required":false,"options":[{"value":"","label":"---------"}],"related_fields":[]},{"name":"automation_multiple_company_id__is_active","type":"CheckboxInput","label":"Is active | Company","required":false},{"name":"automation_multiple_company_id__company","type":"TextInput","label":"Company | Company","required":true},{"name":"automation_multiple_company_id__hq","type":"CheckboxInput","label":"Hq | Company","required":false},{"name":"automation_multiple_company_id__address","type":"Textarea","label":"Address | Company","required":true},{"name":"automation_multiple_company_id__country","type":"TextInput","label":"Country | Company","required":true},{"name":"automation_multiple_company_id__state","type":"TextInput","label":"State | Company","required":true},{"name":"automation_multiple_company_id__city","type":"TextInput","label":"City | Company","required":true},{"name":"automation_multiple_company_id__zip","type":"TextInput","label":"Zip | Company","required":true},{"name":"automation_multiple_company_id__icon","type":"ClearableFileInput","label":"Icon | Company","required":true},{"name":"automation_multiple_company_id__date_format","type":"TextInput","label":"Date format | Company","required":false},{"name":"automation_multiple_company_id__time_format","type":"TextInput","label":"Time format | Company","required":false},{"name":"automation_multiple_start_date","type":"DateInput","label":"Start date","required":true},{"name":"automation_multiple_end_date","type":"DateInput","label":"End date","required":false},{"name":"automation_multiple_skills","type":"SelectMultiple","label":"Skills","required":false,"options":[],"related_fields":[]},{"name":"automation_multiple_skills__is_active","type":"CheckboxInput","label":"Is active | Skills","required":false},{"name":"automation_multiple_skills__title","type":"TextInput","label":"Title | Skills","required":true},{"name":"automation_multiple_optional_profile_image","type":"CheckboxInput","label":"Optional profile image","required":false},{"name":"automation_multiple_optional_resume","type":"CheckboxInput","label":"Optional resume","required":false}]\" data-select2-id=\"1604\" tabindex=\"-1\" aria-hidden=\"true\" name=\"automation_multiple_condition\"><option value=\"automation_multiple_title\" data-select2-id=\"1606\">Title</option><option value=\"automation_multiple_description\" data-select2-id=\"1753\">Description</option><option value=\"automation_multiple_is_event_based\" data-select2-id=\"1754\">Is event based</option><option value=\"automation_multiple_closed\" data-select2-id=\"1755\">Closed</option><option value=\"automation_multiple_is_published\" data-select2-id=\"1756\">Is published</option><option value=\"automation_multiple_is_active\" data-select2-id=\"1757\">Is active</option><option value=\"automation_multiple_open_positions\" data-select2-id=\"1758\">Open positions</option><option value=\"automation_multiple_open_positions__is_active\" data-select2-id=\"1759\">Is active | Open positions</option><option value=\"automation_multiple_open_positions__job_position\" data-select2-id=\"1760\">Job position | Open positions</option><option value=\"automation_multiple_open_positions__department_id\" data-select2-id=\"1761\">Department | Open positions</option><option value=\"automation_multiple_open_positions__company_id\" data-select2-id=\"1762\">Company | Open positions</option><option value=\"automation_multiple_vacancy\" data-select2-id=\"1763\">Vacancy</option><option value=\"automation_multiple_recruitment_managers\" data-select2-id=\"1764\" selected=\"selected\">Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__badge_id\" data-select2-id=\"1765\">Badge id | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__employee_user_id\" data-select2-id=\"1766\">User | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__employee_first_name\" data-select2-id=\"1767\">First name | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__employee_last_name\" data-select2-id=\"1768\">Last name | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__employee_profile\" data-select2-id=\"1769\">Employee profile | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__email\" data-select2-id=\"1770\">Email | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__phone\" data-select2-id=\"1771\">Phone | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__address\" data-select2-id=\"1772\">Address | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__country\" data-select2-id=\"1773\">Country | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__state\" data-select2-id=\"1774\">State | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__city\" data-select2-id=\"1775\">City | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__zip\" data-select2-id=\"1776\">Zip | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__dob\" data-select2-id=\"1777\">Dob | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__gender\" data-select2-id=\"1778\">Gender | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__qualification\" data-select2-id=\"1779\">Qualification | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__experience\" data-select2-id=\"1780\">Experience | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__marital_status\" data-select2-id=\"1781\">Marital status | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__children\" data-select2-id=\"1782\">Children | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__emergency_contact\" data-select2-id=\"1783\">Emergency contact | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__emergency_contact_name\" data-select2-id=\"1784\">Emergency contact name | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__emergency_contact_relation\" data-select2-id=\"1785\">Emergency contact relation | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__is_active\" data-select2-id=\"1786\">Is active | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__additional_info\" data-select2-id=\"1787\">Additional info | Recruitment managers</option><option value=\"automation_multiple_survey_templates\" data-select2-id=\"1788\">Survey templates</option><option value=\"automation_multiple_survey_templates__is_active\" data-select2-id=\"1789\">Is active | Survey templates</option><option value=\"automation_multiple_survey_templates__title\" data-select2-id=\"1790\">Title | Survey templates</option><option value=\"automation_multiple_survey_templates__description\" data-select2-id=\"1791\">Description | Survey templates</option><option value=\"automation_multiple_survey_templates__company_id\" data-select2-id=\"1792\">Company | Survey templates</option><option value=\"automation_multiple_company_id\" data-select2-id=\"1793\">Company</option><option value=\"automation_multiple_company_id__is_active\" data-select2-id=\"1794\">Is active | Company</option><option value=\"automation_multiple_company_id__company\" data-select2-id=\"1795\">Company | Company</option><option value=\"automation_multiple_company_id__hq\" data-select2-id=\"1796\">Hq | Company</option><option value=\"automation_multiple_company_id__address\" data-select2-id=\"1797\">Address | Company</option><option value=\"automation_multiple_company_id__country\" data-select2-id=\"1798\">Country | Company</option><option value=\"automation_multiple_company_id__state\" data-select2-id=\"1799\">State | Company</option><option value=\"automation_multiple_company_id__city\" data-select2-id=\"1800\">City | Company</option><option value=\"automation_multiple_company_id__zip\" data-select2-id=\"1801\">Zip | Company</option><option value=\"automation_multiple_company_id__icon\" data-select2-id=\"1802\">Icon | Company</option><option value=\"automation_multiple_company_id__date_format\" data-select2-id=\"1803\">Date format | Company</option><option value=\"automation_multiple_company_id__time_format\" data-select2-id=\"1804\">Time format | Company</option><option value=\"automation_multiple_start_date\" data-select2-id=\"1805\">Start date</option><option value=\"automation_multiple_end_date\" data-select2-id=\"1806\">End date</option><option value=\"automation_multiple_skills\" data-select2-id=\"1807\">Skills</option><option value=\"automation_multiple_skills__is_active\" data-select2-id=\"1808\">Is active | Skills</option><option value=\"automation_multiple_skills__title\" data-select2-id=\"1809\">Title | Skills</option><option value=\"automation_multiple_optional_profile_image\" data-select2-id=\"1810\">Optional profile image</option><option value=\"automation_multiple_optional_resume\" data-select2-id=\"1811\">Optional resume</option></select><span class=\"select2 select2-container select2-container--default select2-container--above\" dir=\"ltr\" data-select2-id=\"1686\" style=\"width: 165.281px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\" aria-labelledby=\"select2-automation_multiple_condition-2z-container\"><span class=\"select2-selection__rendered\" id=\"select2-automation_multiple_condition-2z-container\" role=\"textbox\" aria-readonly=\"true\" title=\"Recruitment managers\">Recruitment managers</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span></td>\r\n <td data-select2-id=\"1818\">\r\n <select name=\"condition\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" data-select2-id=\"1607\" tabindex=\"-1\" aria-hidden=\"true\">\r\n <option value=\"==\" data-select2-id=\"1609\">==</option>\r\n <option value=\"!=\" data-select2-id=\"1819\" selected=\"selected\">!=</option>\r\n </select><span class=\"select2 select2-container select2-container--default select2-container--below\" dir=\"ltr\" data-select2-id=\"1687\" style=\"width: 62.5156px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\" aria-labelledby=\"select2-condition-92-container\"><span class=\"select2-selection__rendered\" id=\"select2-condition-92-container\" role=\"textbox\" aria-readonly=\"true\" title=\"!=\">!=</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td class=\"condition-value-th\"><select multiple=\"\" name=\"automation_multiple_condition\" required=\"\" data-select2-id=\"1815\" tabindex=\"-1\" class=\"select2-hidden-accessible\" aria-hidden=\"true\"><option value=\"1\">Adam Luis (PEP#00)</option></select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"1816\" style=\"width: 135.531px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--multiple\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\"><ul class=\"select2-selection__rendered\"><li class=\"select2-search select2-search--inline\"><input class=\"select2-search__field\" type=\"search\" tabindex=\"0\" autocomplete=\"off\" autocorrect=\"off\" autocapitalize=\"none\" spellcheck=\"false\" role=\"searchbox\" aria-autocomplete=\"list\" placeholder=\"\" style=\"width: 0.75em;\"></li></ul></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span></td>\r\n <td data-select2-id=\"1615\">\r\n <select name=\"logic\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" data-select2-id=\"1610\" tabindex=\"-1\" aria-hidden=\"true\">\r\n <option value=\"and\" data-select2-id=\"1612\">And</option>\r\n <option value=\"or\" data-select2-id=\"1616\" selected=\"selected\">Or</option>\r\n </select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"1688\" style=\"width: 47.1875px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\" aria-labelledby=\"select2-logic-bx-container\"><span class=\"select2-selection__rendered\" id=\"select2-logic-bx-container\" role=\"textbox\" aria-readonly=\"true\" title=\"Or\">Or</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td>\r\n <div class=\"oh-btn-group\">\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n var clonedElement = $(this).closest('tr').clone();\r\n totalRows ='C' +( $(this).closest('table').find('.dynamic-condition-row').length + 1);\r\n clonedElement.find('.sn').html(totalRows)\r\n clonedElement.find('select').parent().find('span').remove()\r\n clonedElement.find('select').attr('class','w-100')\r\n\r\n $(this).closest('tr').parent().append(clonedElement)\r\n $('#multipleConditionTable').find('select').select2()\r\n \">\r\n <ion-icon name=\"copy-outline\" role=\"img\" class=\"md hydrated\"></ion-icon> \r\n </button>\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n $(this).closest('tr').remove();\r\n \">\r\n <ion-icon name=\"trash-outline\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </button>\r\n </div>\r\n </td>\r\n </tr></tbody></table>",
|
|
"condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and&automation_multiple_condition=automation_multiple_recruitment_managers&condition=!%3D&automation_multiple_condition=&logic=or",
|
|
"condition": "<form id=\"multipleConditionForm\" data-select2-id=\"multipleConditionForm\"><table id=\"multipleConditionTable\">\r\n <tbody data-select2-id=\"1423\"><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{"name":"automation_multiple_title","type":"TextInput","label":"Title","required":false,"max_length":50},{"name":"automation_multiple_description","type":"Textarea","label":"Description","required":true,"max_length":null},{"name":"automation_multiple_is_event_based","type":"CheckboxInput","label":"Is event based","required":false},{"name":"automation_multiple_closed","type":"CheckboxInput","label":"Closed","required":false},{"name":"automation_multiple_is_published","type":"CheckboxInput","label":"Is published","required":false},{"name":"automation_multiple_is_active","type":"CheckboxInput","label":"Is active","required":false},{"name":"automation_multiple_open_positions","type":"SelectMultiple","label":"Open positions","required":false,"options":[],"related_fields":[]},{"name":"automation_multiple_open_positions__is_active","type":"CheckboxInput","label":"Is active | Open positions","required":false},{"name":"automation_multiple_open_positions__job_position","type":"TextInput","label":"Job position | Open positions","required":true},{"name":"automation_multiple_open_positions__department_id","type":"Select","label":"Department | Open positions","required":true},{"name":"automation_multiple_open_positions__company_id","type":"SelectMultiple","label":"Company | Open positions","required":false},{"name":"automation_multiple_vacancy","type":"NumberInput","label":"Vacancy","required":true},{"name":"automation_multiple_recruitment_managers","type":"SelectMultiple","label":"Recruitment managers","required":true,"options":[{"value":"1","label":"Adam Luis (PEP#00)"}],"related_fields":[]},{"name":"automation_multiple_recruitment_managers__badge_id","type":"TextInput","label":"Badge id | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__employee_user_id","type":"Select","label":"User | Recruitment managers","required":false,"options":[{"value":1,"label":"admin"}]},{"name":"automation_multiple_recruitment_managers__employee_first_name","type":"TextInput","label":"First name | Recruitment managers","required":true},{"name":"automation_multiple_recruitment_managers__employee_last_name","type":"TextInput","label":"Last name | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__employee_profile","type":"ClearableFileInput","label":"Employee profile | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__email","type":"EmailInput","label":"Email | Recruitment managers","required":true},{"name":"automation_multiple_recruitment_managers__phone","type":"TextInput","label":"Phone | Recruitment managers","required":true},{"name":"automation_multiple_recruitment_managers__address","type":"Textarea","label":"Address | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__country","type":"TextInput","label":"Country | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__state","type":"TextInput","label":"State | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__city","type":"TextInput","label":"City | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__zip","type":"TextInput","label":"Zip | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__dob","type":"DateInput","label":"Dob | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__gender","type":"Select","label":"Gender | Recruitment managers","required":true,"options":[{"value":"male","label":"Male"},{"value":"female","label":"Female"},{"value":"other","label":"Other"}]},{"name":"automation_multiple_recruitment_managers__qualification","type":"TextInput","label":"Qualification | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__experience","type":"NumberInput","label":"Experience | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__marital_status","type":"Select","label":"Marital status | Recruitment managers","required":false,"options":[{"value":"","label":"---------"},{"value":"single","label":"Single"},{"value":"married","label":"Married"},{"value":"divorced","label":"Divorced"}]},{"name":"automation_multiple_recruitment_managers__children","type":"NumberInput","label":"Children | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__emergency_contact","type":"TextInput","label":"Emergency contact | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__emergency_contact_name","type":"TextInput","label":"Emergency contact name | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__emergency_contact_relation","type":"TextInput","label":"Emergency contact relation | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__is_active","type":"CheckboxInput","label":"Is active | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__additional_info","type":"Textarea","label":"Additional info | Recruitment managers","required":false},{"name":"automation_multiple_survey_templates","type":"SelectMultiple","label":"Survey templates","required":false,"options":[],"related_fields":[]},{"name":"automation_multiple_survey_templates__is_active","type":"CheckboxInput","label":"Is active | Survey templates","required":false},{"name":"automation_multiple_survey_templates__title","type":"TextInput","label":"Title | Survey templates","required":true},{"name":"automation_multiple_survey_templates__description","type":"Textarea","label":"Description | Survey templates","required":false},{"name":"automation_multiple_survey_templates__company_id","type":"Select","label":"Company | Survey templates","required":false},{"name":"automation_multiple_company_id","type":"Select","label":"Company","required":false,"options":[{"value":"","label":"---------"}],"related_fields":[]},{"name":"automation_multiple_company_id__is_active","type":"CheckboxInput","label":"Is active | Company","required":false},{"name":"automation_multiple_company_id__company","type":"TextInput","label":"Company | Company","required":true},{"name":"automation_multiple_company_id__hq","type":"CheckboxInput","label":"Hq | Company","required":false},{"name":"automation_multiple_company_id__address","type":"Textarea","label":"Address | Company","required":true},{"name":"automation_multiple_company_id__country","type":"TextInput","label":"Country | Company","required":true},{"name":"automation_multiple_company_id__state","type":"TextInput","label":"State | Company","required":true},{"name":"automation_multiple_company_id__city","type":"TextInput","label":"City | Company","required":true},{"name":"automation_multiple_company_id__zip","type":"TextInput","label":"Zip | Company","required":true},{"name":"automation_multiple_company_id__icon","type":"ClearableFileInput","label":"Icon | Company","required":true},{"name":"automation_multiple_company_id__date_format","type":"TextInput","label":"Date format | Company","required":false},{"name":"automation_multiple_company_id__time_format","type":"TextInput","label":"Time format | Company","required":false},{"name":"automation_multiple_start_date","type":"DateInput","label":"Start date","required":true},{"name":"automation_multiple_end_date","type":"DateInput","label":"End date","required":false},{"name":"automation_multiple_skills","type":"SelectMultiple","label":"Skills","required":false,"options":[],"related_fields":[]},{"name":"automation_multiple_skills__is_active","type":"CheckboxInput","label":"Is active | Skills","required":false},{"name":"automation_multiple_skills__title","type":"TextInput","label":"Title | Skills","required":true},{"name":"automation_multiple_optional_profile_image","type":"CheckboxInput","label":"Optional profile image","required":false},{"name":"automation_multiple_optional_resume","type":"CheckboxInput","label":"Optional resume","required":false}]\" tabindex=\"-1\" aria-hidden=\"true\" name=\"automation_multiple_condition\" data-select2-id=\"1676\"><option value=\"automation_multiple_title\" data-select2-id=\"1678\">Title</option><option value=\"automation_multiple_description\" data-select2-id=\"1692\">Description</option><option value=\"automation_multiple_is_event_based\" data-select2-id=\"1693\">Is event based</option><option value=\"automation_multiple_closed\" data-select2-id=\"1694\">Closed</option><option value=\"automation_multiple_is_published\" data-select2-id=\"1695\">Is published</option><option value=\"automation_multiple_is_active\" data-select2-id=\"1696\" selected=\"selected\">Is active</option><option value=\"automation_multiple_open_positions\" data-select2-id=\"1697\">Open positions</option><option value=\"automation_multiple_open_positions__is_active\" data-select2-id=\"1698\">Is active | Open positions</option><option value=\"automation_multiple_open_positions__job_position\" data-select2-id=\"1699\">Job position | Open positions</option><option value=\"automation_multiple_open_positions__department_id\" data-select2-id=\"1700\">Department | Open positions</option><option value=\"automation_multiple_open_positions__company_id\" data-select2-id=\"1701\">Company | Open positions</option><option value=\"automation_multiple_vacancy\" data-select2-id=\"1702\">Vacancy</option><option value=\"automation_multiple_recruitment_managers\" data-select2-id=\"1703\">Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__badge_id\" data-select2-id=\"1704\">Badge id | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__employee_user_id\" data-select2-id=\"1705\">User | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__employee_first_name\" data-select2-id=\"1706\">First name | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__employee_last_name\" data-select2-id=\"1707\">Last name | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__employee_profile\" data-select2-id=\"1708\">Employee profile | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__email\" data-select2-id=\"1709\">Email | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__phone\" data-select2-id=\"1710\">Phone | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__address\" data-select2-id=\"1711\">Address | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__country\" data-select2-id=\"1712\">Country | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__state\" data-select2-id=\"1713\">State | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__city\" data-select2-id=\"1714\">City | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__zip\" data-select2-id=\"1715\">Zip | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__dob\" data-select2-id=\"1716\">Dob | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__gender\" data-select2-id=\"1717\">Gender | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__qualification\" data-select2-id=\"1718\">Qualification | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__experience\" data-select2-id=\"1719\">Experience | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__marital_status\" data-select2-id=\"1720\">Marital status | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__children\" data-select2-id=\"1721\">Children | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__emergency_contact\" data-select2-id=\"1722\">Emergency contact | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__emergency_contact_name\" data-select2-id=\"1723\">Emergency contact name | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__emergency_contact_relation\" data-select2-id=\"1724\">Emergency contact relation | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__is_active\" data-select2-id=\"1725\">Is active | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__additional_info\" data-select2-id=\"1726\">Additional info | Recruitment managers</option><option value=\"automation_multiple_survey_templates\" data-select2-id=\"1727\">Survey templates</option><option value=\"automation_multiple_survey_templates__is_active\" data-select2-id=\"1728\">Is active | Survey templates</option><option value=\"automation_multiple_survey_templates__title\" data-select2-id=\"1729\">Title | Survey templates</option><option value=\"automation_multiple_survey_templates__description\" data-select2-id=\"1730\">Description | Survey templates</option><option value=\"automation_multiple_survey_templates__company_id\" data-select2-id=\"1731\">Company | Survey templates</option><option value=\"automation_multiple_company_id\" data-select2-id=\"1732\">Company</option><option value=\"automation_multiple_company_id__is_active\" data-select2-id=\"1733\">Is active | Company</option><option value=\"automation_multiple_company_id__company\" data-select2-id=\"1734\">Company | Company</option><option value=\"automation_multiple_company_id__hq\" data-select2-id=\"1735\">Hq | Company</option><option value=\"automation_multiple_company_id__address\" data-select2-id=\"1736\">Address | Company</option><option value=\"automation_multiple_company_id__country\" data-select2-id=\"1737\">Country | Company</option><option value=\"automation_multiple_company_id__state\" data-select2-id=\"1738\">State | Company</option><option value=\"automation_multiple_company_id__city\" data-select2-id=\"1739\">City | Company</option><option value=\"automation_multiple_company_id__zip\" data-select2-id=\"1740\">Zip | Company</option><option value=\"automation_multiple_company_id__icon\" data-select2-id=\"1741\">Icon | Company</option><option value=\"automation_multiple_company_id__date_format\" data-select2-id=\"1742\">Date format | Company</option><option value=\"automation_multiple_company_id__time_format\" data-select2-id=\"1743\">Time format | Company</option><option value=\"automation_multiple_start_date\" data-select2-id=\"1744\">Start date</option><option value=\"automation_multiple_end_date\" data-select2-id=\"1745\">End date</option><option value=\"automation_multiple_skills\" data-select2-id=\"1746\">Skills</option><option value=\"automation_multiple_skills__is_active\" data-select2-id=\"1747\">Is active | Skills</option><option value=\"automation_multiple_skills__title\" data-select2-id=\"1748\">Title | Skills</option><option value=\"automation_multiple_optional_profile_image\" data-select2-id=\"1749\">Optional profile image</option><option value=\"automation_multiple_optional_resume\" data-select2-id=\"1750\">Optional resume</option></select><span class=\"select2 select2-container select2-container--default select2-container--below\" dir=\"ltr\" data-select2-id=\"1677\" style=\"width: 160.422px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"0\" aria-disabled=\"false\" aria-labelledby=\"select2-automation_multiple_condition-w6-container\"><span class=\"select2-selection__rendered\" id=\"select2-automation_multiple_condition-w6-container\" role=\"textbox\" aria-readonly=\"true\" title=\"Is active\">Is active</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span></td>\r\n <td>\r\n <select name=\"condition\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" tabindex=\"-1\" aria-hidden=\"true\" data-select2-id=\"1680\">\r\n <option value=\"==\" data-select2-id=\"1682\">==</option>\r\n <option value=\"!=\">!=</option>\r\n </select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"1681\" style=\"width: 59.7188px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"0\" aria-disabled=\"false\" aria-labelledby=\"select2-condition-8f-container\"><span class=\"select2-selection__rendered\" id=\"select2-condition-8f-container\" role=\"textbox\" aria-readonly=\"true\" title=\"==\">==</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td class=\"condition-value-th\"><div class=\"oh-switch\" style=\"width: 30px;\"><input type=\"checkbox\" name=\"automation_multiple_condition\" class=\"oh-switch__checkbox oh-switch__checkbox\" checked=\"checked\" value=\"on\"></div></td>\r\n <td data-select2-id=\"1615\">\r\n <select name=\"logic\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" tabindex=\"-1\" aria-hidden=\"true\" data-select2-id=\"1683\">\r\n <option value=\"and\" data-select2-id=\"1690\" selected=\"selected\">And</option>\r\n <option value=\"or\" data-select2-id=\"1685\">Or</option>\r\n </select><span class=\"select2 select2-container select2-container--default select2-container--below\" dir=\"ltr\" data-select2-id=\"1684\" style=\"width: 38.8594px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"0\" aria-disabled=\"false\" aria-labelledby=\"select2-logic-o2-container\"><span class=\"select2-selection__rendered\" id=\"select2-logic-o2-container\" role=\"textbox\" aria-readonly=\"true\" title=\"And\">And</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td>\r\n <div class=\"oh-btn-group\">\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n var clonedElement = $(this).closest('tr').clone();\r\n totalRows ='C' +( $(this).closest('table').find('.dynamic-condition-row').length + 1);\r\n clonedElement.find('.sn').html(totalRows)\r\n clonedElement.find('select').parent().find('span').remove()\r\n clonedElement.find('select').attr('class','w-100')\r\n\r\n $(this).closest('tr').parent().append(clonedElement)\r\n $('#multipleConditionTable').find('select').select2()\r\n \">\r\n <ion-icon name=\"copy-outline\" role=\"img\" class=\"md hydrated\"></ion-icon> \r\n </button>\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n $(this).closest('tr').remove();\r\n \">\r\n <ion-icon name=\"trash-outline\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </button>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C2</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{"name":"automation_multiple_title","type":"TextInput","label":"Title","required":false,"max_length":50},{"name":"automation_multiple_description","type":"Textarea","label":"Description","required":true,"max_length":null},{"name":"automation_multiple_is_event_based","type":"CheckboxInput","label":"Is event based","required":false},{"name":"automation_multiple_closed","type":"CheckboxInput","label":"Closed","required":false},{"name":"automation_multiple_is_published","type":"CheckboxInput","label":"Is published","required":false},{"name":"automation_multiple_is_active","type":"CheckboxInput","label":"Is active","required":false},{"name":"automation_multiple_open_positions","type":"SelectMultiple","label":"Open positions","required":false,"options":[],"related_fields":[]},{"name":"automation_multiple_open_positions__is_active","type":"CheckboxInput","label":"Is active | Open positions","required":false},{"name":"automation_multiple_open_positions__job_position","type":"TextInput","label":"Job position | Open positions","required":true},{"name":"automation_multiple_open_positions__department_id","type":"Select","label":"Department | Open positions","required":true},{"name":"automation_multiple_open_positions__company_id","type":"SelectMultiple","label":"Company | Open positions","required":false},{"name":"automation_multiple_vacancy","type":"NumberInput","label":"Vacancy","required":true},{"name":"automation_multiple_recruitment_managers","type":"SelectMultiple","label":"Recruitment managers","required":true,"options":[{"value":"1","label":"Adam Luis (PEP#00)"}],"related_fields":[]},{"name":"automation_multiple_recruitment_managers__badge_id","type":"TextInput","label":"Badge id | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__employee_user_id","type":"Select","label":"User | Recruitment managers","required":false,"options":[{"value":1,"label":"admin"}]},{"name":"automation_multiple_recruitment_managers__employee_first_name","type":"TextInput","label":"First name | Recruitment managers","required":true},{"name":"automation_multiple_recruitment_managers__employee_last_name","type":"TextInput","label":"Last name | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__employee_profile","type":"ClearableFileInput","label":"Employee profile | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__email","type":"EmailInput","label":"Email | Recruitment managers","required":true},{"name":"automation_multiple_recruitment_managers__phone","type":"TextInput","label":"Phone | Recruitment managers","required":true},{"name":"automation_multiple_recruitment_managers__address","type":"Textarea","label":"Address | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__country","type":"TextInput","label":"Country | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__state","type":"TextInput","label":"State | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__city","type":"TextInput","label":"City | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__zip","type":"TextInput","label":"Zip | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__dob","type":"DateInput","label":"Dob | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__gender","type":"Select","label":"Gender | Recruitment managers","required":true,"options":[{"value":"male","label":"Male"},{"value":"female","label":"Female"},{"value":"other","label":"Other"}]},{"name":"automation_multiple_recruitment_managers__qualification","type":"TextInput","label":"Qualification | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__experience","type":"NumberInput","label":"Experience | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__marital_status","type":"Select","label":"Marital status | Recruitment managers","required":false,"options":[{"value":"","label":"---------"},{"value":"single","label":"Single"},{"value":"married","label":"Married"},{"value":"divorced","label":"Divorced"}]},{"name":"automation_multiple_recruitment_managers__children","type":"NumberInput","label":"Children | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__emergency_contact","type":"TextInput","label":"Emergency contact | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__emergency_contact_name","type":"TextInput","label":"Emergency contact name | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__emergency_contact_relation","type":"TextInput","label":"Emergency contact relation | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__is_active","type":"CheckboxInput","label":"Is active | Recruitment managers","required":false},{"name":"automation_multiple_recruitment_managers__additional_info","type":"Textarea","label":"Additional info | Recruitment managers","required":false},{"name":"automation_multiple_survey_templates","type":"SelectMultiple","label":"Survey templates","required":false,"options":[],"related_fields":[]},{"name":"automation_multiple_survey_templates__is_active","type":"CheckboxInput","label":"Is active | Survey templates","required":false},{"name":"automation_multiple_survey_templates__title","type":"TextInput","label":"Title | Survey templates","required":true},{"name":"automation_multiple_survey_templates__description","type":"Textarea","label":"Description | Survey templates","required":false},{"name":"automation_multiple_survey_templates__company_id","type":"Select","label":"Company | Survey templates","required":false},{"name":"automation_multiple_company_id","type":"Select","label":"Company","required":false,"options":[{"value":"","label":"---------"}],"related_fields":[]},{"name":"automation_multiple_company_id__is_active","type":"CheckboxInput","label":"Is active | Company","required":false},{"name":"automation_multiple_company_id__company","type":"TextInput","label":"Company | Company","required":true},{"name":"automation_multiple_company_id__hq","type":"CheckboxInput","label":"Hq | Company","required":false},{"name":"automation_multiple_company_id__address","type":"Textarea","label":"Address | Company","required":true},{"name":"automation_multiple_company_id__country","type":"TextInput","label":"Country | Company","required":true},{"name":"automation_multiple_company_id__state","type":"TextInput","label":"State | Company","required":true},{"name":"automation_multiple_company_id__city","type":"TextInput","label":"City | Company","required":true},{"name":"automation_multiple_company_id__zip","type":"TextInput","label":"Zip | Company","required":true},{"name":"automation_multiple_company_id__icon","type":"ClearableFileInput","label":"Icon | Company","required":true},{"name":"automation_multiple_company_id__date_format","type":"TextInput","label":"Date format | Company","required":false},{"name":"automation_multiple_company_id__time_format","type":"TextInput","label":"Time format | Company","required":false},{"name":"automation_multiple_start_date","type":"DateInput","label":"Start date","required":true},{"name":"automation_multiple_end_date","type":"DateInput","label":"End date","required":false},{"name":"automation_multiple_skills","type":"SelectMultiple","label":"Skills","required":false,"options":[],"related_fields":[]},{"name":"automation_multiple_skills__is_active","type":"CheckboxInput","label":"Is active | Skills","required":false},{"name":"automation_multiple_skills__title","type":"TextInput","label":"Title | Skills","required":true},{"name":"automation_multiple_optional_profile_image","type":"CheckboxInput","label":"Optional profile image","required":false},{"name":"automation_multiple_optional_resume","type":"CheckboxInput","label":"Optional resume","required":false}]\" data-select2-id=\"1604\" tabindex=\"-1\" aria-hidden=\"true\" name=\"automation_multiple_condition\"><option value=\"automation_multiple_title\" data-select2-id=\"1606\">Title</option><option value=\"automation_multiple_description\" data-select2-id=\"1753\">Description</option><option value=\"automation_multiple_is_event_based\" data-select2-id=\"1754\">Is event based</option><option value=\"automation_multiple_closed\" data-select2-id=\"1755\">Closed</option><option value=\"automation_multiple_is_published\" data-select2-id=\"1756\">Is published</option><option value=\"automation_multiple_is_active\" data-select2-id=\"1757\">Is active</option><option value=\"automation_multiple_open_positions\" data-select2-id=\"1758\">Open positions</option><option value=\"automation_multiple_open_positions__is_active\" data-select2-id=\"1759\">Is active | Open positions</option><option value=\"automation_multiple_open_positions__job_position\" data-select2-id=\"1760\">Job position | Open positions</option><option value=\"automation_multiple_open_positions__department_id\" data-select2-id=\"1761\">Department | Open positions</option><option value=\"automation_multiple_open_positions__company_id\" data-select2-id=\"1762\">Company | Open positions</option><option value=\"automation_multiple_vacancy\" data-select2-id=\"1763\">Vacancy</option><option value=\"automation_multiple_recruitment_managers\" data-select2-id=\"1764\" selected=\"selected\">Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__badge_id\" data-select2-id=\"1765\">Badge id | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__employee_user_id\" data-select2-id=\"1766\">User | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__employee_first_name\" data-select2-id=\"1767\">First name | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__employee_last_name\" data-select2-id=\"1768\">Last name | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__employee_profile\" data-select2-id=\"1769\">Employee profile | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__email\" data-select2-id=\"1770\">Email | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__phone\" data-select2-id=\"1771\">Phone | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__address\" data-select2-id=\"1772\">Address | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__country\" data-select2-id=\"1773\">Country | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__state\" data-select2-id=\"1774\">State | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__city\" data-select2-id=\"1775\">City | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__zip\" data-select2-id=\"1776\">Zip | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__dob\" data-select2-id=\"1777\">Dob | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__gender\" data-select2-id=\"1778\">Gender | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__qualification\" data-select2-id=\"1779\">Qualification | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__experience\" data-select2-id=\"1780\">Experience | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__marital_status\" data-select2-id=\"1781\">Marital status | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__children\" data-select2-id=\"1782\">Children | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__emergency_contact\" data-select2-id=\"1783\">Emergency contact | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__emergency_contact_name\" data-select2-id=\"1784\">Emergency contact name | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__emergency_contact_relation\" data-select2-id=\"1785\">Emergency contact relation | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__is_active\" data-select2-id=\"1786\">Is active | Recruitment managers</option><option value=\"automation_multiple_recruitment_managers__additional_info\" data-select2-id=\"1787\">Additional info | Recruitment managers</option><option value=\"automation_multiple_survey_templates\" data-select2-id=\"1788\">Survey templates</option><option value=\"automation_multiple_survey_templates__is_active\" data-select2-id=\"1789\">Is active | Survey templates</option><option value=\"automation_multiple_survey_templates__title\" data-select2-id=\"1790\">Title | Survey templates</option><option value=\"automation_multiple_survey_templates__description\" data-select2-id=\"1791\">Description | Survey templates</option><option value=\"automation_multiple_survey_templates__company_id\" data-select2-id=\"1792\">Company | Survey templates</option><option value=\"automation_multiple_company_id\" data-select2-id=\"1793\">Company</option><option value=\"automation_multiple_company_id__is_active\" data-select2-id=\"1794\">Is active | Company</option><option value=\"automation_multiple_company_id__company\" data-select2-id=\"1795\">Company | Company</option><option value=\"automation_multiple_company_id__hq\" data-select2-id=\"1796\">Hq | Company</option><option value=\"automation_multiple_company_id__address\" data-select2-id=\"1797\">Address | Company</option><option value=\"automation_multiple_company_id__country\" data-select2-id=\"1798\">Country | Company</option><option value=\"automation_multiple_company_id__state\" data-select2-id=\"1799\">State | Company</option><option value=\"automation_multiple_company_id__city\" data-select2-id=\"1800\">City | Company</option><option value=\"automation_multiple_company_id__zip\" data-select2-id=\"1801\">Zip | Company</option><option value=\"automation_multiple_company_id__icon\" data-select2-id=\"1802\">Icon | Company</option><option value=\"automation_multiple_company_id__date_format\" data-select2-id=\"1803\">Date format | Company</option><option value=\"automation_multiple_company_id__time_format\" data-select2-id=\"1804\">Time format | Company</option><option value=\"automation_multiple_start_date\" data-select2-id=\"1805\">Start date</option><option value=\"automation_multiple_end_date\" data-select2-id=\"1806\">End date</option><option value=\"automation_multiple_skills\" data-select2-id=\"1807\">Skills</option><option value=\"automation_multiple_skills__is_active\" data-select2-id=\"1808\">Is active | Skills</option><option value=\"automation_multiple_skills__title\" data-select2-id=\"1809\">Title | Skills</option><option value=\"automation_multiple_optional_profile_image\" data-select2-id=\"1810\">Optional profile image</option><option value=\"automation_multiple_optional_resume\" data-select2-id=\"1811\">Optional resume</option></select><span class=\"select2 select2-container select2-container--default select2-container--above\" dir=\"ltr\" data-select2-id=\"1686\" style=\"width: 165.281px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\" aria-labelledby=\"select2-automation_multiple_condition-2z-container\"><span class=\"select2-selection__rendered\" id=\"select2-automation_multiple_condition-2z-container\" role=\"textbox\" aria-readonly=\"true\" title=\"Recruitment managers\">Recruitment managers</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span></td>\r\n <td data-select2-id=\"1818\">\r\n <select name=\"condition\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" data-select2-id=\"1607\" tabindex=\"-1\" aria-hidden=\"true\">\r\n <option value=\"==\" data-select2-id=\"1609\">==</option>\r\n <option value=\"!=\" data-select2-id=\"1819\" selected=\"selected\">!=</option>\r\n </select><span class=\"select2 select2-container select2-container--default select2-container--below select2-container--focus\" dir=\"ltr\" data-select2-id=\"1687\" style=\"width: 62.5156px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\" aria-labelledby=\"select2-condition-92-container\"><span class=\"select2-selection__rendered\" id=\"select2-condition-92-container\" role=\"textbox\" aria-readonly=\"true\" title=\"!=\">!=</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td class=\"condition-value-th\"><select multiple=\"\" name=\"automation_multiple_condition\" required=\"\" data-select2-id=\"1815\" tabindex=\"-1\" class=\"select2-hidden-accessible\" aria-hidden=\"true\"><option value=\"1\">Adam Luis (PEP#00)</option></select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"1816\" style=\"width: 135.531px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--multiple\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\"><ul class=\"select2-selection__rendered\"><li class=\"select2-search select2-search--inline\"><input class=\"select2-search__field\" type=\"search\" tabindex=\"0\" autocomplete=\"off\" autocorrect=\"off\" autocapitalize=\"none\" spellcheck=\"false\" role=\"searchbox\" aria-autocomplete=\"list\" placeholder=\"\" style=\"width: 0.75em;\"></li></ul></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span></td>\r\n <td data-select2-id=\"1615\">\r\n <select name=\"logic\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" data-select2-id=\"1610\" tabindex=\"-1\" aria-hidden=\"true\">\r\n <option value=\"and\" data-select2-id=\"1612\">And</option>\r\n <option value=\"or\" data-select2-id=\"1616\" selected=\"selected\">Or</option>\r\n </select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"1688\" style=\"width: 47.1875px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\" aria-labelledby=\"select2-logic-bx-container\"><span class=\"select2-selection__rendered\" id=\"select2-logic-bx-container\" role=\"textbox\" aria-readonly=\"true\" title=\"Or\">Or</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td>\r\n <div class=\"oh-btn-group\">\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n var clonedElement = $(this).closest('tr').clone();\r\n totalRows ='C' +( $(this).closest('table').find('.dynamic-condition-row').length + 1);\r\n clonedElement.find('.sn').html(totalRows)\r\n clonedElement.find('select').parent().find('span').remove()\r\n clonedElement.find('select').attr('class','w-100')\r\n\r\n $(this).closest('tr').parent().append(clonedElement)\r\n $('#multipleConditionTable').find('select').select2()\r\n \">\r\n <ion-icon name=\"copy-outline\" role=\"img\" class=\"md hydrated\"></ion-icon> \r\n </button>\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n $(this).closest('tr').remove();\r\n \">\r\n <ion-icon name=\"trash-outline\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </button>\r\n </div>\r\n </td>\r\n </tr></tbody></table></form>",
|
|
"also_sent_to": [],
|
|
"template_attachments": []
|
|
}
|
|
},
|
|
{
|
|
"model": "horilla_automations.mailautomation",
|
|
"pk": 6,
|
|
"fields": {
|
|
"created_at": "2025-04-30T06:35:03.644Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": true,
|
|
"title": "Stage Manager Automation",
|
|
"method_title": "stage_manager_automation",
|
|
"model": "recruitment.models.Stage",
|
|
"mail_to": "['stage_managers__get_email']",
|
|
"mail_details": "recruitment_id__description",
|
|
"mail_detail_choice": "",
|
|
"trigger": "on_create",
|
|
"mail_template": 6,
|
|
"delivary_channel": "both",
|
|
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody data-select2-id=\"2391\"><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{"name":"automation_multiple_is_active","type":"CheckboxInput","label":"Is Active","required":false},{"name":"automation_multiple_recruitment_id","type":"Select","label":"Recruitment","required":true,"options":[{"value":"","label":"---------"}],"related_fields":[]},{"name":"automation_multiple_recruitment_id__title","type":"TextInput","label":"Title | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__description","type":"Textarea","label":"Description | Recruitment","required":true},{"name":"automation_multiple_recruitment_id__is_event_based","type":"CheckboxInput","label":"Is event based | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__closed","type":"CheckboxInput","label":"Closed | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__is_published","type":"CheckboxInput","label":"Is published | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__is_active","type":"CheckboxInput","label":"Is active | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__open_positions","type":"SelectMultiple","label":"Open positions | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__vacancy","type":"NumberInput","label":"Vacancy | Recruitment","required":true},{"name":"automation_multiple_recruitment_id__recruitment_managers","type":"SelectMultiple","label":"Recruitment managers | Recruitment","required":true,"options":[{"value":1,"label":"Adam Luis (PEP#00)"}]},{"name":"automation_multiple_recruitment_id__survey_templates","type":"SelectMultiple","label":"Survey templates | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__company_id","type":"Select","label":"Company | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__start_date","type":"DateInput","label":"Start date | Recruitment","required":true},{"name":"automation_multiple_recruitment_id__end_date","type":"DateInput","label":"End date | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__skills","type":"SelectMultiple","label":"Skills | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__optional_profile_image","type":"CheckboxInput","label":"Optional profile image | Recruitment","required":false},{"name":"automation_multiple_recruitment_id__optional_resume","type":"CheckboxInput","label":"Optional resume | Recruitment","required":false},{"name":"automation_multiple_stage_managers","type":"SelectMultiple","label":"Stage managers","required":true,"options":[{"value":"1","label":"Adam Luis (PEP#00)"}],"related_fields":[]},{"name":"automation_multiple_stage_managers__badge_id","type":"TextInput","label":"Badge id | Stage managers","required":false},{"name":"automation_multiple_stage_managers__employee_user_id","type":"Select","label":"User | Stage managers","required":false,"options":[{"value":1,"label":"admin"}]},{"name":"automation_multiple_stage_managers__employee_first_name","type":"TextInput","label":"First name | Stage managers","required":true},{"name":"automation_multiple_stage_managers__employee_last_name","type":"TextInput","label":"Last name | Stage managers","required":false},{"name":"automation_multiple_stage_managers__employee_profile","type":"ClearableFileInput","label":"Employee profile | Stage managers","required":false},{"name":"automation_multiple_stage_managers__email","type":"EmailInput","label":"Email | Stage managers","required":true},{"name":"automation_multiple_stage_managers__phone","type":"TextInput","label":"Phone | Stage managers","required":true},{"name":"automation_multiple_stage_managers__address","type":"Textarea","label":"Address | Stage managers","required":false},{"name":"automation_multiple_stage_managers__country","type":"TextInput","label":"Country | Stage managers","required":false},{"name":"automation_multiple_stage_managers__state","type":"TextInput","label":"State | Stage managers","required":false},{"name":"automation_multiple_stage_managers__city","type":"TextInput","label":"City | Stage managers","required":false},{"name":"automation_multiple_stage_managers__zip","type":"TextInput","label":"Zip | Stage managers","required":false},{"name":"automation_multiple_stage_managers__dob","type":"DateInput","label":"Dob | Stage managers","required":false},{"name":"automation_multiple_stage_managers__gender","type":"Select","label":"Gender | Stage managers","required":true,"options":[{"value":"male","label":"Male"},{"value":"female","label":"Female"},{"value":"other","label":"Other"}]},{"name":"automation_multiple_stage_managers__qualification","type":"TextInput","label":"Qualification | Stage managers","required":false},{"name":"automation_multiple_stage_managers__experience","type":"NumberInput","label":"Experience | Stage managers","required":false},{"name":"automation_multiple_stage_managers__marital_status","type":"Select","label":"Marital status | Stage managers","required":false,"options":[{"value":"","label":"---------"},{"value":"single","label":"Single"},{"value":"married","label":"Married"},{"value":"divorced","label":"Divorced"}]},{"name":"automation_multiple_stage_managers__children","type":"NumberInput","label":"Children | Stage managers","required":false},{"name":"automation_multiple_stage_managers__emergency_contact","type":"TextInput","label":"Emergency contact | Stage managers","required":false},{"name":"automation_multiple_stage_managers__emergency_contact_name","type":"TextInput","label":"Emergency contact name | Stage managers","required":false},{"name":"automation_multiple_stage_managers__emergency_contact_relation","type":"TextInput","label":"Emergency contact relation | Stage managers","required":false},{"name":"automation_multiple_stage_managers__is_active","type":"CheckboxInput","label":"Is active | Stage managers","required":false},{"name":"automation_multiple_stage_managers__additional_info","type":"Textarea","label":"Additional info | Stage managers","required":false},{"name":"automation_multiple_stage","type":"TextInput","label":"Stage","required":true,"max_length":50},{"name":"automation_multiple_stage_type","type":"Select","label":"Stage type","required":true,"options":[{"value":"initial","label":"Initial"},{"value":"applied","label":"Applied"},{"value":"test","label":"Test"},{"value":"interview","label":"Interview"},{"value":"cancelled","label":"Cancelled"},{"value":"hired","label":"Hired"}]},{"name":"automation_multiple_sequence","type":"NumberInput","label":"Sequence","required":true}]\" data-select2-id=\"846\" tabindex=\"-1\" aria-hidden=\"true\" name=\"automation_multiple_condition\"><option value=\"automation_multiple_is_active\" data-select2-id=\"848\">Is Active</option><option value=\"automation_multiple_recruitment_id\" data-select2-id=\"2396\">Recruitment</option><option value=\"automation_multiple_recruitment_id__title\" data-select2-id=\"2397\">Title | Recruitment</option><option value=\"automation_multiple_recruitment_id__description\" data-select2-id=\"2398\">Description | Recruitment</option><option value=\"automation_multiple_recruitment_id__is_event_based\" data-select2-id=\"2399\">Is event based | Recruitment</option><option value=\"automation_multiple_recruitment_id__closed\" data-select2-id=\"2400\">Closed | Recruitment</option><option value=\"automation_multiple_recruitment_id__is_published\" data-select2-id=\"2401\">Is published | Recruitment</option><option value=\"automation_multiple_recruitment_id__is_active\" data-select2-id=\"2402\">Is active | Recruitment</option><option value=\"automation_multiple_recruitment_id__open_positions\" data-select2-id=\"2403\">Open positions | Recruitment</option><option value=\"automation_multiple_recruitment_id__vacancy\" data-select2-id=\"2404\">Vacancy | Recruitment</option><option value=\"automation_multiple_recruitment_id__recruitment_managers\" data-select2-id=\"2405\">Recruitment managers | Recruitment</option><option value=\"automation_multiple_recruitment_id__survey_templates\" data-select2-id=\"2406\">Survey templates | Recruitment</option><option value=\"automation_multiple_recruitment_id__company_id\" data-select2-id=\"2407\">Company | Recruitment</option><option value=\"automation_multiple_recruitment_id__start_date\" data-select2-id=\"2408\">Start date | Recruitment</option><option value=\"automation_multiple_recruitment_id__end_date\" data-select2-id=\"2409\">End date | Recruitment</option><option value=\"automation_multiple_recruitment_id__skills\" data-select2-id=\"2410\">Skills | Recruitment</option><option value=\"automation_multiple_recruitment_id__optional_profile_image\" data-select2-id=\"2411\">Optional profile image | Recruitment</option><option value=\"automation_multiple_recruitment_id__optional_resume\" data-select2-id=\"2412\">Optional resume | Recruitment</option><option value=\"automation_multiple_stage_managers\" data-select2-id=\"2413\" selected=\"selected\">Stage managers</option><option value=\"automation_multiple_stage_managers__badge_id\" data-select2-id=\"2414\">Badge id | Stage managers</option><option value=\"automation_multiple_stage_managers__employee_user_id\" data-select2-id=\"2415\">User | Stage managers</option><option value=\"automation_multiple_stage_managers__employee_first_name\" data-select2-id=\"2416\">First name | Stage managers</option><option value=\"automation_multiple_stage_managers__employee_last_name\" data-select2-id=\"2417\">Last name | Stage managers</option><option value=\"automation_multiple_stage_managers__employee_profile\" data-select2-id=\"2418\">Employee profile | Stage managers</option><option value=\"automation_multiple_stage_managers__email\" data-select2-id=\"2419\">Email | Stage managers</option><option value=\"automation_multiple_stage_managers__phone\" data-select2-id=\"2420\">Phone | Stage managers</option><option value=\"automation_multiple_stage_managers__address\" data-select2-id=\"2421\">Address | Stage managers</option><option value=\"automation_multiple_stage_managers__country\" data-select2-id=\"2422\">Country | Stage managers</option><option value=\"automation_multiple_stage_managers__state\" data-select2-id=\"2423\">State | Stage managers</option><option value=\"automation_multiple_stage_managers__city\" data-select2-id=\"2424\">City | Stage managers</option><option value=\"automation_multiple_stage_managers__zip\" data-select2-id=\"2425\">Zip | Stage managers</option><option value=\"automation_multiple_stage_managers__dob\" data-select2-id=\"2426\">Dob | Stage managers</option><option value=\"automation_multiple_stage_managers__gender\" data-select2-id=\"2427\">Gender | Stage managers</option><option value=\"automation_multiple_stage_managers__qualification\" data-select2-id=\"2428\">Qualification | Stage managers</option><option value=\"automation_multiple_stage_managers__experience\" data-select2-id=\"2429\">Experience | Stage managers</option><option value=\"automation_multiple_stage_managers__marital_status\" data-select2-id=\"2430\">Marital status | Stage managers</option><option value=\"automation_multiple_stage_managers__children\" data-select2-id=\"2431\">Children | Stage managers</option><option value=\"automation_multiple_stage_managers__emergency_contact\" data-select2-id=\"2432\">Emergency contact | Stage managers</option><option value=\"automation_multiple_stage_managers__emergency_contact_name\" data-select2-id=\"2433\">Emergency contact name | Stage managers</option><option value=\"automation_multiple_stage_managers__emergency_contact_relation\" data-select2-id=\"2434\">Emergency contact relation | Stage managers</option><option value=\"automation_multiple_stage_managers__is_active\" data-select2-id=\"2435\">Is active | Stage managers</option><option value=\"automation_multiple_stage_managers__additional_info\" data-select2-id=\"2436\">Additional info | Stage managers</option><option value=\"automation_multiple_stage\" data-select2-id=\"2437\">Stage</option><option value=\"automation_multiple_stage_type\" data-select2-id=\"2438\">Stage type</option><option value=\"automation_multiple_sequence\" data-select2-id=\"2439\">Sequence</option></select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"1\" style=\"width: 165.906px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\" aria-labelledby=\"select2-automation_multiple_condition-lj-container\"><span class=\"select2-selection__rendered\" id=\"select2-automation_multiple_condition-lj-container\" role=\"textbox\" aria-readonly=\"true\" title=\"Stage managers\">Stage managers</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span></td>\r\n <td data-select2-id=\"2450\">\r\n <select name=\"condition\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" data-select2-id=\"849\" tabindex=\"-1\" aria-hidden=\"true\">\r\n <option value=\"==\" data-select2-id=\"851\">==</option>\r\n <option value=\"!=\" data-select2-id=\"2451\" selected=\"selected\">!=</option>\r\n </select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"2\" style=\"width: 64.8281px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\" aria-labelledby=\"select2-condition-2v-container\"><span class=\"select2-selection__rendered\" id=\"select2-condition-2v-container\" role=\"textbox\" aria-readonly=\"true\" title=\"!=\">!=</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td class=\"condition-value-th\"><select multiple=\"\" name=\"automation_multiple_condition\" required=\"\" data-select2-id=\"2447\" tabindex=\"-1\" class=\"select2-hidden-accessible\" aria-hidden=\"true\"><option value=\"1\">Adam Luis (PEP#00)</option></select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"3\" style=\"width: 135.531px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--multiple\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\"><ul class=\"select2-selection__rendered\"><li class=\"select2-search select2-search--inline\"><input class=\"select2-search__field\" type=\"search\" tabindex=\"-1\" autocomplete=\"off\" autocorrect=\"off\" autocapitalize=\"none\" spellcheck=\"false\" role=\"searchbox\" aria-autocomplete=\"list\" placeholder=\"\" style=\"width: 0.75em;\"></li></ul></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span></td>\r\n <td>\r\n <select name=\"logic\" onchange=\"addSelectedAttr(event)\" class=\"w-100 select2-hidden-accessible\" data-select2-id=\"852\" tabindex=\"-1\" aria-hidden=\"true\">\r\n <option value=\"and\" data-select2-id=\"854\">And</option>\r\n <option value=\"or\">Or</option>\r\n </select><span class=\"select2 select2-container select2-container--default\" dir=\"ltr\" data-select2-id=\"4\" style=\"width: 64.7969px;\"><span class=\"selection\"><span class=\"select2-selection select2-selection--single\" role=\"combobox\" aria-haspopup=\"true\" aria-expanded=\"false\" tabindex=\"-1\" aria-disabled=\"false\" aria-labelledby=\"select2-logic-1g-container\"><span class=\"select2-selection__rendered\" id=\"select2-logic-1g-container\" role=\"textbox\" aria-readonly=\"true\" title=\"And\">And</span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"></b></span></span></span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span></span>\r\n </td>\r\n <td>\r\n <div class=\"oh-btn-group\">\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n var clonedElement = $(this).closest('tr').clone();\r\n totalRows ='C' +( $(this).closest('table').find('.dynamic-condition-row').length + 1);\r\n clonedElement.find('.sn').html(totalRows)\r\n clonedElement.find('select').parent().find('span').remove()\r\n clonedElement.find('select').attr('class','w-100')\r\n\r\n $(this).closest('tr').parent().append(clonedElement)\r\n $('#multipleConditionTable').find('select').select2()\r\n \">\r\n <ion-icon name=\"copy-outline\" role=\"img\" class=\"md hydrated\"></ion-icon> \r\n </button>\r\n <button class=\"oh-btn oh-btn oh-btn--light p-2 w-50\" onclick=\"\r\n event.preventDefault();\r\n $(this).closest('tr').remove();\r\n \">\r\n <ion-icon name=\"trash-outline\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </button>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n \r\n \r\n </tbody></table>",
|
|
"condition_querystring": "automation_multiple_condition=automation_multiple_stage_managers&condition=!%3D&automation_multiple_condition=&logic=and",
|
|
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
|
|
"also_sent_to": [],
|
|
"template_attachments": []
|
|
}
|
|
}
|
|
]
|