Cancel
Showing results for 
Search instead for 
Did you mean: 

prevent creating same workflow process (double or more) on an object

Valued Contributor
Valued Contributor

Hi,

 

Some users create same workflow process more than one on an item revision or a dataset. How can we prevent users creating same workflow process more than one on an object? with overriding "New --> Workflow Process" command or writing a custom ITK handler? 

 

2 REPLIES

Re: prevent creating same workflow process (double or more) on an object

Valued Contributor
Valued Contributor

i know there is a preference called "EPM_multiple_processes_targets" but users can start more than once different processes on same objects. so we set it ON. we only want to prevent users starting the same workflow process on same objects.

Re: prevent creating same workflow process (double or more) on an object

Legend
Legend
Hi,
You might be able to write a query that finds the process template name? Failing that a complicated solution would involve creating a property which has an integer value with an lov... 1 = Approved Workflow, 2 = obsolete workflow etc. You could then query this value at the start of the workflow.

Just remember to reset the value in all exit paths of the workflow!

Regards,
Richard Bennett
Richard Bennett
PLM Consultant
www.ProspectPLM.co.uk