Hello,
What does the "ProcessElementId" under an Activity-record in the database refer to? I will attach a picture from our database.
In essence, we are trying to create tasks through Odata-API that are tied to a specific case stage. But all tasks we create show up on all stages of the opportunity which we dont want. The only difference between tasks we create from Odata and tasks created through the case stage setup seems to be that the ProcessElementId-value is filled in.
Can anyone tell what purpose this value serves and how we could case stage-dependent tasks?
Like
Hello,
The field ProcessElementId refers to a record in the SysProcessElementData table. This table contains information about all the running elements in business processes. The value ProcessElementId represents the ID of the element that created this specific activity.