بسم الله الرحمن الرحيم
Hello Every body as you know you are able to assign assignee to the task node by use roles, unfortunately assigning group is fixed which mean you have create a role for each group which mean complected work in your WF design.
In this tip, you will us one dynamic role for all groups.
My Scenario. in work order before begin work it must approved from responsible group for each location in the following steps I will create one dynamic role for all the responsible groups.
1 - Create a new attribute in locations Object as following
1.1 - open Database Configuration APP goto-->System Configuration --> platform configuration-->DataBas Configuration.
1.2 - filter on Locations object,in attributes tab add new attribute as following:
Property | Value |
---|---|
Attribute name | ownergroup |
same as object | persongroups |
same as attribute | person group |
1.4 - apply configuration
1.5 - set admin mod of
2 - add new relation between locations object and persongroupteam object
2.1 - in relationship tap create new relationship as following
2.2- save
3- on application designer add the new attribute to locations layout
4- Create new role as following
4.1- Save
5- Open Workflow designer .then yours process
5.1 - drag and drop task node ,then add the role in previews step
6.1 in Location application add the responsible group in the new attrubite which created in step 1.2.
that's all.
bye.
2 - add new relation between locations object and persongroupteam object
2.1 - in relationship tap create new relationship as following
Property | Value |
---|---|
Relationship | LOCOWNERGROUP |
Child Object | PERSONGROUPTEAM |
Where Clause | PERSONGROUP = :ownergroup |
2.2- save
3- on application designer add the new attribute to locations layout
4- Create new role as following
Property | Value |
---|---|
Role | LocOwnergr |
description | Location Owner group |
type | a set of data related to the record |
Object | workorder |
value | :LOCATION.LOCOWNERGROUP.RESPPARTYGROUP_PERSONS.personid |
4.1- Save
5- Open Workflow designer .then yours process
5.1 - drag and drop task node ,then add the role in previews step
6.1 in Location application add the responsible group in the new attrubite which created in step 1.2.
that's all.
bye.
No comments:
Post a Comment