Hi,
I have created a BPF on a custom entity. The custom entity has a relation (N:1) with contacts. I want to use the custom entity and the contact entity. I have setup the stages (first custom than contact) and activated the BPF. The problem is that the user only can create a new contact to move the stage, the BPF doesn't use the related field on the custom entity. (and can't find records at all)
To clearify the businesscase a little:
We are in recruitment so we have candidates and vacancies. The candidate applies for the vacancy. So we have the following entities:
- Contacts (for candidates but also business contacts, indicated by a custom field on contacts)
- Vacanies (custom entity), not involved in this matter
- job applications (custom entity) N:1 contact and N:1 on vacanies
We want to have a BPF on Job applications to support the application process. In this proces we need to edit the contact (complete and check candidate data) and on the job application entity data that is specific for this job application (a candidate can apply on more jobs so to start with contacts is not a option (need trigger on new job application and a candidate can have more job applications at the same time).
What I have done:
Create de BPF with the stages:
- 1: Job application (data steps only)
- 2: Contacts (data steps only)
- 3: Job application (data steps only)
I activated the BPF and added the BPF in the application designer (sales Enterprise).
When a test the BPF it will appears on new job applications (so far so good) but can't move to the second stage because the systeem asked for a contact. the contact (candidate) is already entered when the job application record is created (the record is automatic created with PowerAutomate). Secondary I can't select a existing contact records, I have to create a new contact record to proceed.
As a solution I also tried to fill the contactID directly on the BPF entity with PowerAutomate (flow), the flow fails ("code":"0x80060441","message":"Record for entity 'contact' is not in the traversed path 'dc04d5b6-6bbf-4640-9705-e53acf683a33'), I don't understand the traversed path field (when I use the Original value of traversed path and add the contactid to this value the flow still breaks).
Can somebody helpout?
Many thanks!
Regards,
Rory