Enterprise requirement:

Electronic mail notification to be despatched to all of the Queue Members on assigning a Case to Queue.

Answer:

1. Add a step “When a row is added, modified or deleted” then rename it to “Set off when a Queue merchandise is created” and enter the next particulars:

Change Sort: Added

Desk Title: Queue Gadgets

Scope: Group

2. Add an motion “Get a row by ID” and rename it as “GetCaseDetails” – This step is used to get a case file particulars:

Desk Title: Circumstances

Row ID: Object (Worth)

clip_image002

3. Add an motion “Initialize Variable” and rename it to “Get all of the emails of Queue Members” – That is used to retailer emails of all of the queue members

Title: Queue Members Electronic mail

Sort: String

clip_image004

4. Add an motion “Initialize Variable” and rename it to “Report URL” – That is used to retailer the URL of Case file

Title: Case Report URL

Sort: String

clip_image005

clip_image006

5. Add a situation to make sure when the kind of file is case or not.

clip_image007

6. Below “Sure” a part of a situation, add an motion “Checklist all data” and rename it to “Checklist all members and their emails” – That is used to get all of the customers (Members) and their emails which we’ll use later. We might first have to fetch XML question.

Desk Title: Customers

Fetch XML Question:

<fetch model=”1.0″ output-format=”xml-platform” mapping=”logical” distinct=”true”>

<entity title=”systemuser”>

<attribute title=”fullname” />

<attribute title=”systemuserid” />

<attribute title=”internalemailaddress” />

<order attribute=”fullname” descending=”false” />

<link-entity title=”queuemembership” from=”systemuserid” to=”systemuserid” seen=”false” intersect=”true”>

<link-entity title=”queue” from=”queueid” to=”queueid” alias=”advert”>

<filter kind=”and”>

<situation attribute=”queueid” operator=”eq” uiname=”Queue Title” uitype=”queue” worth=”{@{triggerOutputs()?[‘body/_queueid_value’]}}” />

</filter>

</link-entity>

</link-entity>

</entity>

</fetch>

clip_image009

7. Add an motion “Apply to every” and choose the “Worth” which we’re getting from earlier step (Checklist all Data) then add an motion “Append to String Variable”

underneath Apply to every and enter following particulars:

Title: Choose “Queue Member Electronic mail” variable

Worth: Add following expression

concat(objects(‘Apply_to_each’)?[‘internalemailaddress’],’;’)

clip_image011

8. Add an motion “Ship an electronic mail (V2)” and enter the required particulars:

To: Queue Members Electronic mail

clip_image013

9. Save the circulation and take a look at it.

clip_image015

Hope it helps and Energy 365ing as ordinary!

Different methods to be taught with me:

image

Any downside in Energy Platform or Dynamics 365 – finish consumer, Microsoft associate or a person?

Downside Space – Technical, Useful, Coaching, Improvement or consulting?

Me and my crew are right here to assist, get in contact right here: Click here

clip_image002[4]

LEAVE A REPLY

Please enter your comment!
Please enter your name here