Greetings,
We have an activity created with "Activity with a New Process" in BAW Case Solution of IBM BAW 24.0.1.
I am trying to pass the value of an input variable after creating the Discretionary Activity using the below function
var inputPropertyNames = new tw.object.listOf.String();
var inputPropertyValues = new tw.object.listOf.String();
inputPropertyNames[0] = 'test';
inputPropertyValues[0] = "value";
tw.system.currentProcessInstance.parentCase.createDiscretionaryActivityWithProps("ACTIVITY_NAME", null,null,inputPropertyNames , inputPropertyValues, true);
test is defined as an Input Variable after opening the Activity in the Designer
Activity is getting started but the value of the variable "test" is undefined
Can someone suggest what is needed to make this work ?
Thanks
------------------------------
Lakshya Agarwal
------------------------------