Introduction to advanced workflow

Download Introduction to advanced workflow

Post on 22-Jan-2017

46 views

Category:

Software

0 download

TRANSCRIPT

  • Introduction to Advanced Workflows!

    Gavin Cornwell, Development Manager, Services Team, Alfresco!

  • Agenda!

    UI Process Definition Task Definition Deployment Configuration UI!Form!Engine!

    Demo Q & A

  • UI!

  • My Tasks!

  • Edit Task!

  • Workflows Ive Started!

  • Workflow Details!

  • Admin Console!

  • Workflow Console!

  • Process Definition!

  • Example Process Definition!

  • Start Task!

  • Review Task! execution.setVariable('dcwkflw_reviewOutcome', task.getVariable('dcwkflw_reviewOutcome')); ${bpm_assignee.properties.userName}

  • Decision!

    ${dcwkflw_reviewOutcome == 'Publish'}

  • Approved Task!
  • Rejected Task! ${initiator.properties.userName}

  • Task Definition!

  • Based on Alfresco Content Modelling!

    bpmModel.xml bpm:task!bpm:workflowTask!bpm:startTask!bpm:activitiStartTask!bpm:activitiOutcomeTask!

    workflowModel.xml wf:submitAdhocTask!wf:reviewTask!wf:activitiReviewTask!wf:approvedTask!

  • Start Task! wf:submitReviewTask dcwkflw:details

  • Task Definition Start Task cont.!! ! ! d:text! ! ! d:int! ! ! !
  • Task Definition Review Task! bpm:activitiOutcomeTask d:text Reject {http://www.alfresco.org/model/dcworkflow/1.0}reviewOutcome dcwkflw:details

  • Task Definition Review Task cont.! Publish Reject

  • Deployment!

  • Spring: your-context.xml! activiti alfresco/extension/devcon-workflow.bpmn20.xml text/xml false alfresco/extension/devcon-workflow-model.xml alfresco/extension/devcon-workflow-model

  • Workflow Console!

  • Configuration!

  • UI Hiding Workflows!

  • UI Hiding Tasks!

  • Start Workflow Form!

  • Task Form!
  • Workflow Details Form!

  • Workflow Details Form!
  • Engine!

    Disabling system.workflow.engine.jbpm.enabled=true!system.workflow.engine.activiti.enabled=true!

    Definition Visibility system.workflow.engine.jbpm.definitions.visible=false!system.workflow.engine.activiti.definitions.visible=true!

    Override in alfresco-global.properties Values shown in Admin Console or JMX Dump

  • Demo!

    Start DevCon Presentation Review Workflow Manage Task Monitor Progress Workflow Details!Workflow Console!

  • Questions ?!

  • Learn More!

    http://wiki.alfresco.com/wiki/Workflow http://wiki.alfresco.com/wiki/Forms http://www.activiti.org