Showing results for 
Search instead for 
Do you mean 
Reply

WORKFLOW HANDLERS

Hi experts,

I strucked with a problem while using rule handler "check-responsible-party".

i placed this hander on perform action of start task. you can find it in below attachments.

and i am getting error.go through attachments.

waiting for your suggestions..

 

Thank you.

 

12 REPLIES

Re: WORKFLOW HANDLERS

The handler appears to be working flawlessly. Your group in DBA yet the handler expects CAR. The business rule has not been met. What's the problem?

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: WORKFLOW HANDLERS

I initiated the workflow by using specified user:1234,Group:car.

but still it is showing "Business rules for handler 'check-responsible-party' on action 'Add Attachment' in task 'plmrh1' are not met."

Re: WORKFLOW HANDLERS

The handler cannot be placed on the Perform of the Root task (plmrh1). Can move it to the Perform of "New Task 1"?

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: WORKFLOW HANDLERS

sir, i tried it by placing it on newtask.now what is the problem is any user can initiate the workflow.

i want only user:1234,Group:car should initiate workflow.

Re: WORKFLOW HANDLERS

If your requirement is controlling who can initiate the workflow then you might want to look into Process Template Filter and/or apply a Named ACL.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: WORKFLOW HANDLERS

if its not possible by using rule hander check-responsible-party ,

then for what purpose this handler is used.

I want it to done by only using this handler.

I thaught that this handler checks for the user & group, which we specify during aasigning this handler to newtask.

Re: WORKFLOW HANDLERS

It does. But you cannot place it on the root task (see image). You can always write your own handler.

 

EPM-check-responsible-party.PNG


Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: WORKFLOW HANDLERS

exactly right i didnt placed it on root task. i placed it on newtask1 .but the problem is , any user can initiate the workflow. i want only user:1234,Group:car can initiate.I dnt want other users to initiate workflow.

Re: WORKFLOW HANDLERS

The rule handler check-responsible-party should stop  other (not specified)users from initiating workflow.but it is not hapening.