Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Feature

Description

Configuring Functions

You can use our Bob connector to push data to Bob. Here are the instructions to configure a post function that executes such an integration.

  1. Go to the Workflow of choice from Project Settings

  2. Select the transition you wish to add the post function to

  3. Click Post Function→Add Post Function.

  4. Select the OnLink Post Function option then Add.

  5. Select Bob in the system field (Bob connection needs to be established first), Then select Add or Terminate employee as the function.

  6. In the Input Field Mapping, map the relevant custom fields to each of the required fields as shown below. Ensure these custom fields are added to the issue screen from which the post function is being called.

image-20240129-165604.png

Add Employee Field Mapping

Find the API field you want to add. The list of API fields can be retrieved by calling https://apidocs.hibob.com/reference/get_company-people-fields API from Bob's documentation.

For example, let's say you want to set "Employment type" field. The above API returns below snippet.

{
"id": "payroll.employment.type",
"category": "employment",
"name": "Employment type",
"description": null,
"jsonPath": "payroll.employment.type",
"type": "list",
"typeData": {
"listId": "payrollEmploymentType"
},
"historical": true
}

The jsonPath value "payroll.employment.type" should then be used in the mapping config e.g. map:payroll.employment.type=customfield_10065

Similarly, you can add additional fields. Here's an example mapping:

map:displayName=customfield_10065
map:address.fullAddress=customfield_10066
map:work.title=customfield_10067
map:payroll.employment.type=customfield_10068
map:payroll.employment.activeEffectiveDate=customfield_10069
map:work.custom.field_1671035736351=customfield_10064

  • No labels