Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: How to define workflow participant from document attribute

$
0
0

Hi Jeffrey,

 

I've been working on similar...

 

You'll want to explore QuerySpec and Code examples for generating a Query within an Expression Robot.  This will find you a WTPrincipal based on Name (username) or other property such as Full Name.  From there explore RoleHolder (public API equivalent ofr TEAM) where you can add the WTPrincipal to a WTRoleHolder (Team) of the pbo.  Note - your pbo Team will have to have the Role in question, and I'm assuming that the WTDocument Lifecycle is Advanced with Workflow.


Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>