How can i access the BDM in my Actor Filter Impl

1
0
-1

Hi

I need to restrict the access of Task generated according to a few parameters like geo location.
I am storing that in my BDM but i am unable to access it in the actor filter.

Comments

Submitted by ysiddiqui on Thu, 12/24/2015 - 11:30

DataInstance instance = getAPIAccessor().getProcessAPI().getProcessDataInstance("CaseData", processInstanceId);
Throws an error
DataInstanceNotFoundException: DataInstance with name not found: [name: CaseData, container type: PROCESS_INSTANCE, container id: 1036]

The businessDataReference values are - Name - caseData and Type - com.company.model.CaseData

1 answer

1
0
-1
This one is the BEST answer!

What about defining your BDM as inputs of your actor filter definition?

Comments

Submitted by ysiddiqui on Mon, 01/04/2016 - 05:39

Sorry for the delay
Yup i guess that could work - Let me try it out -- But how does the widget work to provide the value of the BDM to the actor filter ?

Submitted by ysiddiqui on Mon, 01/04/2016 - 08:37

Works as suggested - helped alot - thanks

Notifications