dynamic deployment of alfresco custom workflow

Upload: dayme-gonzalez-rodriguez

Post on 09-Feb-2018

233 views

Category:

Documents


1 download

TRANSCRIPT

  • 7/22/2019 Dynamic Deployment of Alfresco Custom Workflow

    1/12

  • 7/22/2019 Dynamic Deployment of Alfresco Custom Workflow

    2/12

    Interest Rate

    d:float

    Balance Amount

    d:int

    Settlement Amount

    d:int

    d:text

    bpm:assignee

    claim:reviewTask

  • 7/22/2019 Dynamic Deployment of Alfresco Custom Workflow

    3/12

    While uploading custom XML model file Enble checkbox Modify all properties when this page

    closes so that you can fill custom properties and select Model Active check box to Activate model as

    you are uploading.

  • 7/22/2019 Dynamic Deployment of Alfresco Custom Workflow

    4/12

    Note.If you forget to enable Model Activecheck box dont worry Alfreso has given admin UI to

    activate your model

    Go to http://:/alfresco/faces/jsp/admin/repoadmin-console.jsp

    Use the command activate model CustomWorkflowModel.xml.

    1. Dynamic Deployment of Workflow Resource Bundle (Workflow Message Properties forClient

    Custom Workflow Resource Bundle are stored in MessagesSpace Company Home > Data Dictionary

    > Messages. Upload a custom workflow resource bundle file to the Messages space

    # Filename: custom-workflow-messages

    # Description: Specity labels of the property for the custom

    Workflow

    # Author: Ganesh Kolhe

    claim_claimReview.workflow.title=Review,Approvalofcontent

    claim_claimReview.workflow.description=Review,Approvalofcontent

    claim_workflowmodel.type.claim_reviewTask.title=StartReview

    claim_workflowmodel.type.claim_reviewTask.description=Submit

    documentsforreview&approval

    claim_workflowmodel.type.claim_submitReviewTask.title=Review

    claim_workflowmodel.type.claim_submitReviewTask.description=Review

    DocumentstoApproveorRejectthem

  • 7/22/2019 Dynamic Deployment of Alfresco Custom Workflow

    5/12

    2. Dynamic Deployment of Workflow Process DefinitionCustom Workflow Definition are stored in MessagesSpace Company Home > Data Dictionary >Workflow Definitions. Upload a custom workflow resource bundle file to the Workflow Definitions

    space.

    Create customworkflow-processdefinition.xml

  • 7/22/2019 Dynamic Deployment of Alfresco Custom Workflow

    6/12

    #{bpm_assignee}

    new Date();

    new Date();

  • 7/22/2019 Dynamic Deployment of Alfresco Custom Workflow

    7/12

    new Date();

    Add the process definition file to Workflow DefinitionsSpace

  • 7/22/2019 Dynamic Deployment of Alfresco Custom Workflow

    8/12

    3. Dynamic Deployment of Workflow task dialog (Web-Client-Config-Custom)Dynamic Alfresco Explorer Customization is stored in Space Company Home > Data Dictionary >

    Web Client Extension . Upload a custom definition of task-dialog in Web Client Extension space.

    Create web-client-config-custom.xml and upload in this space

  • 7/22/2019 Dynamic Deployment of Alfresco Custom Workflow

    9/12

  • 7/22/2019 Dynamic Deployment of Alfresco Custom Workflow

    10/12

    Goto - http://:/alfresco/faces/jsp/admin/webclientconfig-console.jsp

    And type command reload which causes this customization to be reloaded.

  • 7/22/2019 Dynamic Deployment of Alfresco Custom Workflow

    11/12

    Test your CustomWokflow

    1. First Create Claims Space under Company Home Space2. Create two user using admin console

    a. claim_makerb. settlement_approver

    3. Login with claim_maker4. Add Content to space Claims Right Click on Content and select Start Advanced Workflow

  • 7/22/2019 Dynamic Deployment of Alfresco Custom Workflow

    12/12

    Login with settlement_approver under My Alfresco Custom workflow task can be viewed