Hello, I need help with Expression
The Expression to get Job ID is @{triggerBody()?['payload']?['job']?['id']}
- What is the Expression to get Department Name ?
- What is the Expression to get Office Names ( Eg: New York, Belgium ) ( both office name , comma separated )
Below is the Sample JSON Code
{
"action": "job_updated",
"payload":
{
"job":
{
"id": 100445,
"name": "Assistant Store Manager, NYC",
"requisition_id": null,
"notes": "<p>Looking for the best!<\/p>",
"confidential": false,
"job_post_id": 88010,
"status": "open",
"created_at": "2015-08-11T23:02:09Z",
"opened_at": "2015-08-11T23:02:09Z",
"closed_at": null,
"departments":
[
{
"id": 74,
"name": "Guideshops",
"external_id": "ex-dept-1"
}
],
"offices":
[
{
"id": 104,
"name": "New York",
"location": "New York, NY",
"external_id": "ex-office-1"
},
{
"id": 105,
"name": "Belgium",
"location": "Belgium",
"external_id": "ex-office-2"
}
],
"hiring_team":
{
"hiring_managers":
[
{
"user_id": 1234,
"employee_id": "abc-123"
}
],
"sourcers": [],
"recruiters":
[
{
"user_id": 2345,
"employee_id": null
},
{
"user_id": 3456,
"employee_id": "abc-234"
}
],
"coordinators": []
},
"openings":
[
{
"id": 1234,
"opening_id": "abc-1",
"custom_fields": []
},
{
"id": 1235,
"opening_id": "abc-2",
"custom_fields": []
}
],
"custom_fields":
{
"bonus":
{
"name": "Bonus",
"type": "short_text",
"value": null
},
"employment_type":
{
"name": "Employment Type",
"type": "single_select",
"value": null
},
"options":
{
"name": "Options",
"type": "short_text",
"value": null
},
"salary":
{
"name": "Salary",
"type": "short_text",
"value": null
}
}
}
}
}