Hi everyone,
I had a question regarding the workitem responses in BizFlow. I want to obtain the selected response to prevent database insertion when a certain response is selected. How do I access the currently selected response? I can get the list of available responses from the BizFlow process schema, but I can't find the currently selected response.
Thanks,
Daniel
I had a question regarding the workitem responses in BizFlow. I want to obtain the selected response to prevent database insertion when a certain response is selected. How do I access the currently selected response? I can get the list of available responses from the BizFlow process schema, but I can't find the currently selected response.
Thanks,
Daniel
RE: Get Selected Response on Complete Workitem
basicWIHActionClient.getSelectedResponse()
Return object: {'ID': response ID, 'INFO': response Info, 'NAME': response Name}
In order to use the API, you will need to have BizFlow 11.5.0004 or higher.
Example)
var selectedResponse = basicWIHActionClient.getSelectedResponse();
var selectedResponseName = selectedResponse.NAME;
if ("Apporve" == selectedResponseName)
{
//do something...
}
else if ("Reject" == selectedResponseName)
{
//do something...
}
Taeho.BPM