Hi CRM Experts,
I have 2 business process flows attached to case table and I use web resource js to dynamically switch the process flow based on a case type.
This script is attached to the case form on load.
There is no issues if i manually create a case and the script works perfectly.
However, when I migrated data using restAPI to the case table, the BPF is invisible until i manual click the switch process button in certain records.
What i have done for migrated records is:
1. insert case record to case table
2. insert bpf record to the bpf entity for associated case record in step 1.
I know the js setVisiblity command is to control the bpf visislbity on a form, but is there a RESTAPI alternative to set the bpf visibility for all migrated data?
I need to migrated 1m~ case records to dynamics so it is not ideal to manually click switch process button to trigger the bpf.
if it is not possible, can someone suggest alternative that you use help to resolve this dynamics migration issue?
many thanks