Hello Team,
I have a New Account Process that has a total of three sub process. The first pool is the new request process, which sends task to the second level of approval process and then to the final approval process that create the user to role access.
I’m newer to the BDM so I’m having some issues accessing the existing records. I’m able to pass initialize the BDM (see below code) and pass the data from step to step within the same pool and thru the contract. However, I’m seeing two things.
One, in the first process when sending the data thru the form I review the logs (see below) and it looks like an empty JSON object.
Two, I’m unsure how to retrieve the same object from the task assigned to the second pool. I have the context variable tied to the form and it empty which tell me either the object is empty or I’m not pulling it correctly.
Also, For the second process, do I need to create a new business variable for the object or since I created it in the first pool will it still be available? I would think I have to create a new variable reference the same type used from the first pool.
Please help
Thank you
id = <140063>, parent process instance = <7021>, root process instance = <7021>, process definition = <7727893248950901779>] with task inputs: {newAccountPersonNewPerson={middleName=, Id=, lastName=, personDutyInfo={orgnanizationCode=, subOrgnanizationCode=}, personaTypeCode=, firstName=}}
import com.company.model.NewPerson;NewPerson newPerson = new NewPerson();
newPerson.setFirstName(newAccountPerson.get("firstName"));
newPerson.setLastName(newAccountPerson.get("lastName"));
return newPerson;