Monday, October 23, 2017

changing System Lane User / Multiple system Lane user

In IBM BPM system tasks are used for automated work.

These system tasks are executed by system user(mostly tw_admin or other admin user). These tasks are always executed by default system lane user.

If you want to change this default system lane user or add multiple system lane user and assign different users to different swim lanes, you can do it by following below steps.

Step 1 -
Create additional authentication aliases in WebSphere Administrative Console.

Go to Security -> Global Security -> Java Authentication and Authorization Service -> J2C authentication data
Create new users there.

image



image

Step 2- Once created, add these two authentication alias names to the list of SystemLaneUsers to indicate that these users can be used as system lane users using wsadmin scrpting.




deName = "De1"

de = AdminConfig.getid("/Cell:/BPMCellConfigExtension:/BPMDeploymentEnvironment:%s/" %deName)

print AdminConfig.showAttribute(de,"SystemLaneUserAuthAliasNames")

additionalSystemLaneUserAliases = ";".join( [ 'sys1', 'sys2' ] )

AdminConfig.modify(de, [ [ "SystemLaneUserAuthAliasNames", additionalSystemLaneUserAliases ] ] )


AdminConfig.save()


Now, you can use same in your Process App. if "system" Team is assigned to your swim lane, then first user will be used to process system tasks. 
If you want any particular user to execute system tasks then follow belos.

1.)
Create a team that contains the desired system lane user as its single user.
image


2.)
Add a new lane and mark it as a System Lane.
Associate it with desired Team name.

image




Source
https://www.ibm.com/developerworks/community/blogs/d350350e-2c84-4d33-a25d-73b42c7fbb5e/entry/Multiple_system_lanes_system_users?lang=en

https://www.ibm.com/support/knowledgecenter/SSFTN5_8.5.7/com.ibm.wbpm.admin.doc/topics/adding_system_lane_users.html

















No comments:

Post a Comment