Cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow for a Role

Legend
Legend

Hello,

 

We have a custom-ItemType which only can be created in particular role in a group.

I would like to create a worklow that only a user in that particular role can apply that workflow on that custom-ItemType.

 

In the Workflow Template Filter I only can say what group is allowed to use that workflow on the custom-ItemType, but not the role.

 

Can this be done with a workflow handler?

 

I found nothing in the community that helped me.

 

Thanks!

 

Regards,

Thomas

 

 

 

 

 

16 REPLIES 16

Re: Workflow for a Role

Gears Phenom Gears Phenom
Gears Phenom

@TomK76  - what version of TC please?

Jamie Griffis | PLM Solution Architect | Engineering USA

Re: Workflow for a Role

Legend
Legend

Hi @Jamie_Griffis 

 

sorry I forgot to mention that!

 

We are using TC11.5_7

 

Thomas

Re: Workflow for a Role

Legend
Legend

I found the "EPM-check-action-performer-role"

 

https://docs.plm.automation.siemens.com/tdoc/tc/11.5/help/#uid:xid1256819:index_workflow_designer:id...

 

If I undestand that right, this is what I am looking for?

 

Thanks!

 

Regards,

Thomas

 

Re: Workflow for a Role

Siemens Phenom Siemens Phenom
Siemens Phenom
Hi Thomas,

this is one possibility (the easier one)
another one would be switching from the legacy workflow template filter to conditions in BMIDE:
https://docs.plm.automation.siemens.com/tdoc/tc/11.5/help/#uid:xid1004680 (the one which is more flexible)

Regards,
Markus

Re: Workflow for a Role

Legend
Legend

Hi Markus,

 

thanks!

 

I will have a look on that!

 

We still use the "Workflow Templeate Filter" for that.

 

One question on switching to conditions in BMIDE. When doing it in BMIDE, the use-case I have would require a TEM-deployment, is that correct?

 

Thanks!

Thomas

 

 

Re: Workflow for a Role

Solution Partner Esteemed Contributor Solution Partner Esteemed Contributor
Solution Partner Esteemed Contributor
Yep. But its also the go-forward solution as the legacy workflow filter (TC_<object-type>_release_procedure) was deprecated in Tc11.2+. You can still use the legacy method by setting WRKFLW_use_legacy_template_filter but that won't last and you'll be forced to use conditions anyway. Might as well rip the Band-Aid off and get it over with.

Tips:
The condition MUST have WF in the name or you won't see it in the Filter Condition pulldown.
The condition needs to have WorkspaceObject, ImanType and UserSession in its Signature.
WorkspaceObject should be the first arg in the Signature to prevent errors.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: Workflow for a Role

Legend
Legend

Hi Randy!

 

Thanks for your infos!!

 

I am always open to something new!

But until know we used the workflow filter in the RAC.

 

I will read the documentation about that.

 

But what confuses me is, that it´s apparently necessary to deploy such changes, what means there is a system downtime for applying a workflow filter?

 

Regards,

Thomas

 

 

Re: Workflow for a Role

Solution Partner Esteemed Contributor Solution Partner Esteemed Contributor
Solution Partner Esteemed Contributor
You are correct. A deployment is required because the capability has been moved into BMIDE and is no longer a preference in Teamcenter. Fun!

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: Workflow for a Role

Solution Partner Experimenter Solution Partner Experimenter
Solution Partner Experimenter
Well, doesn't require a cold-depoly, as conditions are extensions and can be hot-deployed ;-) Ciao Klaus