Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Orgchart for Alfresco lightning talk

2,315 views

Published on

  • Be the first to comment

  • Be the first to like this

Orgchart for Alfresco lightning talk

  1. 1. Org Chart for Alfresco
  2. 2. Org Chart in Alfresco • If the company is big, you have an org chart hierarchy in real life and need it in Alfresco
  3. 3. Org Chart in Alfresco • Org chart UI allows to browse units and roles and understand who is responsible for what
  4. 4. Use Case #1: Task Assignment • Oh. Wait. Who is responsible for that? I do not know the name.
  5. 5. Org Chart Picker • Org chart picker can be used in workflows to find a person in charge in company structure by role
  6. 6. 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> • Thats it! Now Share will render org chart picker to choose alvex:reviewer from company structure.
  7. 7. 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).
  8. 8. 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
  9. 9. 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
  10. 10. Role-Based Tasks: Simple Example <userTask id="managerReview" activiti:assignee=“Head Office->Department One::Manager ">Org chart unit is setexplicitly by name
  11. 11. Role-Based Tasks: Context Awareness <userTask id="managerReview" activiti:assignee=“{0}::Manager">Determine org chart unitcurrent user belongs to
  12. 12. Role-Based Tasks: Relative Addressing <userTask id="managerReview" activiti:assignee=“{-1}::Manager">Org chart unit one step up fromThe unit current user belongs to
  13. 13. 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.
  14. 14. 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.
  15. 15. Use Case #3: Out-of-Office • Last but not the least – out-of-office option and roles delegation
  16. 16. 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.
  17. 17. 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.
  18. 18. 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.
  19. 19. 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
  20. 20. 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
  21. 21. 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

×