Would be more than happy if anybody could explain how the skip transition in an activity is intended to work.
I'm currently trying to update a workflow in windchill 9.1 M060.
The code in skip is as follows:
System.out.println("------ Finalize RG ------");
result=true;
if(Create_RG){
result=false;
System.out.println("---> Finalize RG: false ");
}
else{
System.out.println("---> Finalize RG: true ");
}
the Create_RG variable is set in a previous activity.
Participants for the activity is set by role, this is done in an expression robot. The specific role could participate in additional activities and could therefor be populated regardless of the actuall activity. It seems, in my case, this is what triggers the activity, if the role is populated or not.
The code in the skip transition never seems to execute, the System.out.println never generate anything in the system logs. However if I put som logging in i.g. the start transition this will show in the log.
I'm just starting to learn about this stuff, if my description is laking som vital info, let me know and I will try to elaborate.
/Karl