Thursday, 15 April 2010

workflow - Mapping between alfresco user group and jbpm swinlane, pooledActors -



workflow - Mapping between alfresco user group and jbpm swinlane, pooledActors -

when utilize "pooled review , approve" workflow in jbpm, select "user group". workflow tasks created members of "user group" in starting workflow.

my understanding

selected alfresco user grouping mapped jbpm swimlane, pooledactors workflow type.

but don't know mapping located.

my requirement not allow task creation fellow member of "user group" according criteria. help appreciated.

the jbpm swimlane located in jbpm xml file workflow resides... examples are:

<swimlane name="reviewer"> <assignment class="org.alfresco.repo.workflow.jbpm.alfrescoassignment"> <actor>#{bpm_assignee}</actor> </assignment> </swimlane>

or

<swimlane name="initiator" />

if want alter pooledactors in specific alfresco workflow "pooled review , approve" should into:

/alfresco/tomcat/webapps/alfresco/web-inf/classes/alfresco/workflow

there you'll find workflow bpmn20.xml definition files. goal should create 2 separated groups, "user groups" , "user not allowed group".

so set check in code, if user in "user not allowed group", same user not allowed perform action. hope understood problem.

workflow alfresco jbpm

No comments:

Post a Comment