Triggers to create toast notifications

Discussion in 'Feedback and suggestions' started by Phil R, Sep 7, 2016.

  1. Phil R

    Phil R Established Member

    API responses including the "notifications" stanza are displayed to a user.

    For example, when changing the text of priority label in the non-enterprise plan, you receive the following along with the 402 FEATURE_NOT_AVAILABLE error.

    Code:
    "notifications": [
        {
          "type": "ERROR",
          "message": "Sorry, Custom case priorities feature is not available on your current Kayako plan. Ask your administrator to upgrade to get access to this feature",
          "sticky": false
        }
      ],
    
    The "sorry" message is displayed in a toaster to a user.

    Given the power of triggers & automation, is there anything that would block the suggestion and possible feature request, that a trigger be able to generate such a notification as an output action?

    For example, if I have a trigger for the following.

    Conditions
    Rule 1: "Case Update Events: Current User's Role Type", "Not equal to", "Customer"
    AND
    Rule 2: "Cases: Type", "Equal to", "Major incident"
    AND
    Rule 3: "Cases: RCA State" (custom case field), "Not equal to", "Complete"
    AND
    Rule 4: "Cases: Status", "Changed to", "Complete"

    Actions
    Action 1: "Case: Status", "Revert to original"
    AND
    Action 2: "Notify in browser", Type = "ERROR", Message = "You cannot transition a major incident to complete until the RCA is completed"

    You can notify via email to the user or team, but not per Action 2 above.
     

Share This Page