cancel
Showing results for 
Search instead for 
Did you mean: 

EPM-check-object-properties

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

Hello,

 

I have a question on my worflow.

 

I wanted to do ( if  my revision==00  {.......... } else {.......} )

 

I have used  EPM-check-object-properties but it's does not work. Are you an idea?

 

wf3.JPG

Thanks.

3 REPLIES

Re: EPM-check-object-properties

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

If you're attempting to branch your workflow based on a property value you should be using the EPM-set-task-result-to-property handler in your Condition task. Set your flowlines off it to match the possible values of the property.

Conditional Branch Example.png

To do it, draw the flowlines from your Condition task to form the branches in your workflow. Right-click each flowline and select "Set Custom Result..." from the drop-down menu. Add the property value for the branch to the list of results and remove any others that might be there by default.

 

Arden Bedell | Teamcenter Wonk | Applied CAx, LLC

Re: EPM-check-object-properties

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

Hello,

Thanks for your answer.

 

Can you show me how you have defined your "value" in "condition condition" because I tried but it does not work

wf4.JPG

Re: EPM-check-object-properties

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

Here's a quick video showing how it's done. The underlying assumption is that there is a closed set of values that can be set for your property (object_type). Set the custom results to match the values that are of interest to you.

(view in My Videos)

Arden Bedell | Teamcenter Wonk | Applied CAx, LLC