Microsoft Dataverse - A Template to resolve incident

Microsoft Dataverse - A Template to resolve Incident

This template facilitates the resolution of incidents within Dataverse, ensuring swift and effective handling of customer issues.

Use the following steps to copy and paste the below template into the COZYROC JavaScript Task/Component.

1 - Drag and Drop the COZYROC JavaScript Task into the control flow canvas or the COZYROC JavaScript Component into the data flow canvas. Select REST Web Service Request Task from the drop-down list for the option Choose a pre-built script and click on the OK button, as shown in the below screen capture:


2 - Copy the below parameterization template code:

Resolve incident
  1. <?xml version="1.0" encoding="utf-16"?>
  2. <Parameters>
  3. <RestConnection>Dataverse</RestConnection>
  4. <Method>POST</Method>
  5. <Url>/ResolveIncident</Url>
  6. <ContentType>application/json</ContentType>
  7. <IsBodyFile>False</IsBodyFile>
  8. <Body>
  9. <![CDATA[{        
  10.                {
  11.                    "IncidentId": {
  12.                          "incidentid": "[incidentGuid]",
  13.                          "@odata.type": "Microsoft.Dynamics.CRM.incident"
  14.                    },
  15.                   "Status": 5,
  16.                   "BillableTime": 1,
  17.                   "Resolution": "test",
  18.                   "Remarks": "test"
  19.                 }
  20. }]]>
  21. </Body>
  22. </Parameters>

And then click on the Paste button in the COZYROC JavaScript Task/Component, as shown in the below screen capture:


Note: Make sure that the parameter Method is set to POST

    Book a Presales Call

     

    Are you new to COZYROC and evaluating our solutions? 
    Book a Presales Call with us now.

      • Related Articles

      • Microsoft Dataverse - A Template to Cancel Sales Order

        Discover how to efficiently cancel sales orders in Dataverse with this parameterization template. Whether you are a Sales representative, a manager, or a CRM administrator, this knowledge base article equips you with a step-by-step template for ...
      • Microsoft Dataverse - A Template to convert Sales Order to Invoice

        Discover how to streamline your invoicing process with this customizable parameterization template, designed to convert Dataverse sales orders into invoices seamlessly. Use the following steps to copy and paste the below template into the COZYROC ...
      • Microsoft Dataverse - A Template to Fulfilled Sales Order as PARTIAL or COMPLETE

        Learn how to effectively manage your sales order by utilizing this template, designed for fulfilling sales orders as either partial or complete. By leveraging this template, you can accurately handle the fulfillment of your sales orders. Use the ...
      • Microsoft Dataverse - A Template to resolve Incident

        This template facilitates the resolution of incidents within Dataverse, ensuring swift and effective handling of customer issues. Use the following steps to copy and paste the below template into the COZYROC JavaScript Task/Component. 1 - Drag and ...
      • Microsoft Dataverse - A Template to resolve Incident

        This template facilitates the resolution of incidents within Dataverse, ensuring swift and effective handling of customer issues. Use the following steps to copy and paste the below template into the COZYROC JavaScript Task/Component. 1 - Drag and ...