Jump to content

Recommended Posts

Posted

In the Microsoft 365 Create Calendar Event automation, we need to specify each attendee during the workflow configuration.

I would like to have the option of being able to add Request Members and/or Request Connections when creating a calendar event (either as required or optional), however I don't currently see a way of doing this.

  • 1 month later...
Posted

Hi @Gareth Cantrell, it sounds like and please tell me if I have misunderstood that you are looking to dynamically build lists of attendees. 
If so do you already have a method of grabbing requested members and impacted connections?

If I am going the wrong way with this please let me know.

Posted

Hi @Joshua Howitt

You are correct in your understanding that I want to build a dynamic list of attendees.

Using the data?method=entityGetRecord API against the Requests entity with returnRelatedData set to true will return all connections and members on a request.

If I could set the attendees parameter manually, my approach would be as follows:

  1. in the BPM, update an integer custom field to indicate I want to create a calendar appointment
  2. webhook Requests:updated listener filtered on custom field in step 1.
  3. code in webhook listener to:
    1. get the request using data?method=entityGetRecord API
    2. construct JSON string for calendar attendees
    3. update a TEXT custom field in the request with attendees JSON
    4. call Auto Task which will create appointment, using custom field from 3.3 and then reset integer custom field from step 1.
Posted

Unfortunately we are currently not offering the option for a manual inputting JSON to the Attendees field. I am sorry I can't help further with this, but please let me know if I can help you with something else.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...