cancel
Showing results for 
Search instead for 
Did you mean: 

How can I retrieve the expression from the PvmTransition

frauke
Champ in-the-making
Champ in-the-making
Hello everybody,

I am trying to analyze a process by parsing the PVM definition.
But I did not succeed to read the expression string of a transition.
I used
(UelValueExpressionCondition) trans.getProperty("condition");
to retrieve the UelValueExpressionCondition but then I am not able to get the expression string from that class. How can this be done?

Frauke
6 REPLIES 6

falko_menge
Champ in-the-making
Champ in-the-making
You're right. The class UelValueExpressionCondition does have a field valueExpression containing an ActivitiValueExpression, but thats protected.

Perhaps, we could introduce methods for retrieving a String Representation of a condition and maybe also its type to the Condition interface?

frauke
Champ in-the-making
Champ in-the-making
That would be great!!!

jbarrez
Star Contributor
Star Contributor
Could you create a Jira for this and assign this to Tom? Since this is PVM stuff, he'll have a more elaborate opinion on it than me.

frauke
Champ in-the-making
Champ in-the-making

frauke
Champ in-the-making
Champ in-the-making
Hello everybody,

is this issue still in the line? Would it be possible to have it with the next release?

Frauke

jbarrez
Star Contributor
Star Contributor
It is assigned to me currently. I'll try to squeeze it into the 5.0 release. Otherwise 5.1 for sure.