cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow: Condition by ItemNumber

Valued Contributor
Valued Contributor

Hi everybody,

 

I ask you for a condition into a workflow.

 

I would separate the way into a workflow depending the ItemNumber. The 2 conditions is:

 

If ItemNumber start by 1 choose Way1 else choose way2

I try to work with Queries but for this moment I don't found the solution!

 

Perhaps one of you have an idea...

 

Thank you for your help

 

 

PLM Technical IT
4 REPLIES

Re: Workflow: Condition by ItemNumber

Creator
Creator
I don't think there is a code-less solution to your requirement. You will have to write a small custom handler.

________________________________

Re: Workflow: Condition by ItemNumber

Valued Contributor
Valued Contributor

Ok thank you for your answer Smiley Sad

 

I will look if I can work on another field.

 

BR

PLM Technical IT

Re: Workflow: Condition by ItemNumber

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

This is another case where you could use the EPM-set-condition and a custom query in your condition task to achieve the result you want. You can modify the OOTB "Item..." query by using the starting number and a wildcard to check if any of the targets start with "1".

 

You would have to remove the default values from the owning user and owning group paramenters and add a value of 1* in the item_id field. Save the new query with a new name and assign to the condition task's Conditon Query setting:

conditionquery.png

Arden Bedell | Teamcenter Wonk | Applied CAx, LLC

Re: Workflow: Condition by ItemNumber

Siemens Phenom Siemens Phenom
Siemens Phenom

I use a Validation Task along with the EPM-run-external-command handler to route our data based upon Item ID syntax. The script that is run parses the Item ID string based upon our own rules and routes accordingly.

validation task.png

handler properties.png

lov-details.png

 

 


Larry Carpenter, P.E.
CAxPLM Architect @ Siemens Molecular Imaging
Past Board Member @ PLM World, Inc,