I have a XML type variable in my process which is supplied from front end .NET application. I want to catch that XML variable in execute script service window and add two new nodes of the same existing type in that XML. How is that possible? which getProcessData method I should use to access that variable in execute script and then how do I append childs in that XML. Please help. Thanks!
String FeedBackFor = patExecContext.getProcessDataStringValue("/process_data/@FeedbackForCN") in my executescript-service, but nothing is stored in my FeedBackFor variable.
Just before invoking the executescript I check the variable with the logger and it shows that the variable contains the XML it should.
If you really want to use the execute script service, you can always use the getProcessDataValue(xpath) or getProcessDataValueByVariableName(variableName) methods...they both return Object objects, which you cast to the appropriate data type.
The methods of the patExecContext class are now documented here: