Orgchart for Alfresco lightning talk

21
Org Chart for Alfresco

Transcript of Orgchart for Alfresco lightning talk

Page 1: Orgchart for Alfresco lightning talk

Org Chart for Alfresco

Page 2: Orgchart for Alfresco lightning talk

Org Chart in Alfresco

• If the company is big, you have an org chart hierarchy in real life and need it in Alfresco

Page 3: Orgchart for Alfresco lightning talk

Org Chart in Alfresco

• Org chart UI allows to browse units and roles and understand who is responsible for what

Page 4: Orgchart for Alfresco lightning talk

Use Case #1: Task Assignment• Oh. Wait. Who is responsible for that? I do not

know the name.

Page 5: Orgchart for Alfresco lightning talk

Org Chart Picker• Org chart picker can be used in workflows to find a

person in charge in company structure by role

Page 6: Orgchart for Alfresco lightning talk

Org Chart Picker Configuration

• It is really simple to configure – you just add one line into share config

<field id=“alvex:reviewer" label-id="alvex.workflow.bpm_assignee“ set="assignees">

<control template="/com/alvexcore/orgchart-picker.ftl" /></field>

• That's it! Now Share will render org chart picker to choose alvex:reviewer from company structure.

Page 7: Orgchart for Alfresco lightning talk

Use Case #2: Role-Based Tasks

• Sometimes you need pre-defined assignees for certain tasks in workflow

• If an employee is going to business trip, two approvals are required – from the manager (who is directly responsible for daily business) and from accountant (who will pay the expenses after all).

Page 8: Orgchart for Alfresco lightning talk

Role-Based Tasks Are Context-Aware

• Who is the manager and who is the accountant depends on where the employee is in company structure – the roles are context-aware in real life

Page 9: Orgchart for Alfresco lightning talk

Role-Based Tasks Are Context-Aware

• Who is the manager and who is the accountant depends on where the employee is in company structure – the roles are context-aware in real life• Just users / groups are not enough, they are fixed and do

not take workflow context into account

Page 10: Orgchart for Alfresco lightning talk

<userTask id="managerReview"activiti:assignee=“Head Office->Department One::Manager ">

Org chart unit is setexplicitly by name

Role-Based Tasks: Simple Example

Page 11: Orgchart for Alfresco lightning talk

Role-Based Tasks: Context Awareness

<userTask id="managerReview"activiti:assignee=“{0}::Manager">

Determine org chart unitcurrent user belongs to

Page 12: Orgchart for Alfresco lightning talk

Role-Based Tasks: Relative Addressing

<userTask id="managerReview"activiti:assignee=“{-1}::Manager">

Org chart unit one step up from The unit current user belongs to

Page 13: Orgchart for Alfresco lightning talk

Role-Based Tasks: Roles Inheritance

In real life we never have every role set for each org chart unit. Mostly roles are defined for org chart branch, configured for the unit on the top and are meant to cover the whole branch.

Page 14: Orgchart for Alfresco lightning talk

Role-Based Tasks: Roles Inheritance

<userTask id=“accountantReview"activiti:assignee=“{0}::Accountant">

There is no accountant set for this unit. Org chart will search up the tree to find accountant 'inherited' from upper level.

Page 15: Orgchart for Alfresco lightning talk

Use Case #3: Out-of-Office• Last but not the least – out-of-office option and

roles delegation

Page 16: Orgchart for Alfresco lightning talk

Separate Delegations for Each Role

If you are team lead for some group and member of the board at the same time – most probably when you are out of office you need to delegate these duties to different people.

Page 17: Orgchart for Alfresco lightning talk

Separate Delegations for Each Role

If you are team lead for some group and member of the board at the same time – most probably when you are out of office you need to delegate these duties to different people.

Page 18: Orgchart for Alfresco lightning talk

Delegations Are Transparent for Workflows• If you are out of office – new tasks will take roles

delegation into account and will be routed to the users who are appointed to replace you.

Page 19: Orgchart for Alfresco lightning talk

Delegations Are Transparent for Workflows• If you are out of office – new tasks will take roles

delegation into account and will be routed to the users who are appointed to replace you.

• Who is responsible for 'Accountant' role for this unit? - Danny• Is Danny available? - No, he is out of office now• Who replaces Danny for this role? - Emma• Task is assigned to Emma

Page 20: Orgchart for Alfresco lightning talk

Org Chart Usage and APIs

• Default org chart usage• Web-based GUI for administration• Org chart picker to appoint users from company structure• Role-based task assignment in workflows

• Org chart APIs for your customizations• Java API• JavaScript API (root scope object ‘orgchart’)• REST API

Page 21: Orgchart for Alfresco lightning talk

Org chart extension is part of Alvex

Download and use:http://www.alvexcore.com/

Documentation:http://docs.alvexcore.com/

Fork on Github and join development:https://github.com/ITDSystems/alvex

Follow Alvex news on Twitter:@itdsystems