Workflow Soluiton

 View Only
  • 1.  Creae Work Flow to update Status for existing Incident

    Posted Aug 08, 2016 10:12 AM

    Hi Team,

     

       I would like to  create new work flow to update the Status, User Comment, Owner ,then it will be exposed as API.

     

    Please assist me.



  • 2.  RE: Creae Work Flow to update Status for existing Incident

    Posted Aug 08, 2016 11:47 AM

    If you take a look at Project

    • SD.IncidentManagementSimple.Classification

    This will show you how to get a Ticket and amend it.

    You will need

    • GetIncidentTicketBySessionId
    • SingleValueMappingComponent
    • Save Incdient Ticket

    For you, create a Decision Only.png Decision Only Project.

    Set the Inputs to the Model(s) you require.

    • ReportID/SessionID
    • Status
      • Set Status State/Status (ProcessStatusComponent)
    • User Comment
      • Add Process Message (LogMessageReportingComponent)
    • Owner
      • Single Value Mapping (SingleValueMappingComponent)
        • Owner Field

    Expose or Right Click on the Model and 'Set As Invocation Target'

    In Project settings give it a ServiceName etc

    Publish

    Call in Java...



  • 3.  RE: Creae Work Flow to update Status for existing Incident

    Posted Aug 10, 2016 08:10 AM

    Govind83 to Update User Comment you have to create a Integration Project (Query) to update table User Comments in ProcessManager Database. If you use the default componente User Comment (LogMessageReportingComponent) the component did not updates this component only create a new one Comment.

    You need use your Custom Integration Project in your Decision Only Project. Be careful with your update (query in integration project) in comments and probably you need use other input to identify the correct comment.

    Like Alex Hedley says about Decision Only Project is the a good way to customize a Web Service. Good comment Alex.

    Regards,



  • 4.  RE: Creae Work Flow to update Status for existing Incident

    Posted Aug 11, 2016 08:05 AM

    Thank you Alex & Andre.   Alex, your response help me lot.