Jump to content

iBridge Create Calendar Event


Recommended Posts

Trying to use this: Calendar / Create Calendar Event (hornbill.com)

"When adding an event to a Users calendar, the userId parameter should be provided, and optionally calendarId"

image.thumb.png.2ae4c95be797116713e652746196c879.png

Am getting these outputs where the "Status: ok" but no event ID or error and would expect one or the other.

image.png.c2a7e10ed2ae338d156445772d5ce699.png

Anyone using this? Something is broken on iBridge or config wrong here?

Link to comment
Share on other sites

Not something I'm familiar with, but is your Attendees parameter correct?

On the Microsoft documentation it looks like it's in this format:

[{emailAddress: {address: 'adelev@contoso.com',name: 'Adele Vance'},type: 'required'}]

which looks different to your node.

Link to comment
Share on other sites

Hi @Steve Giller, I can see how an incorrect format there would caus an issue.

But the only way that field can be entered is using the 'UI wizard' by clicking the edit icon and it comes-up with this:

[{"displayName":"Name Name","email":"NameName@domain.gov.uk","optional":"Required"}]

If the format is incorrect it would suggest it's something Hornbill need to fix so the wizard outputs the correct format?

image.png.2c0fbbe118099cfd6d36bfa93b724116.png

image.thumb.png.7c2066a60e000fd222badf6cb4dcc446.png

Link to comment
Share on other sites

If a member of the integrations team could please review and confirm if the output of the wizard is correct/incorrect or otherwise assist with why we are getting status "ok" but no calendar entry created or error message. Thanks.

Link to comment
Share on other sites

  • 1 month later...

@Steve G or @Joshua Howitt just hit a new error when trying to release a previously tested function in this area; to add to outlook calendar. I have given the permissions on my calendar to the userID and I am the Owner which is the ID used to add to.

Here is the error message returned for this workflow:

iBridge Method: /Microsoft/Office 365/Calendar/Create Calendar Event.m Error: The specified credential identifier could not be found

This looks a bit like the system cannot find it's permissions to do this work?

Node config:

image.thumb.png.19fb4078df87dd830a06255dfc69704d.png

In UserID I am using

 

Owner (their calendar)
&[global["flowcoderefs"]["getReqInformationEndStage"]["ownerId"]]

In the Attendees, I am using these fields which are populated with the names and logonID (UPN) of the relevant parties.

Implementer (required)
&[global["flowcoderefs"]["getReqInformationEndStage"]["customFieldN"]]
&[global["flowcoderefs"]["getReqInformationEndStage"]["customField37"]]

Customer (optional)
&[global["flowcoderefs"]["getReqInformationEndStage"]["customer"]]
&[global["flowcoderefs"]["getReqInformationEndStage"]["customerPrimaryEmail"]]

Peer (optional)
&[global["flowcoderefs"]["getReqInformationEndStage"]["customFieldO"]]
&[global["flowcoderefs"]["getReqInformationEndStage"]["customField35"]]

Link to comment
Share on other sites

@Joshua Howitt The 'User ID' that we use to Authenticate the connection between Hornbill and Microsoft Office is our ServiceDeskID (the admin user in Hornbill).

The UserID I used in my test (that worked on 6th March) was that of our infrastructure manager who has altered their Outlook permissions to allow the ServiceDeskID (the one we use as KeySafe/API/Admins) to Edit their calendar. I used this variable: &[global["flowcoderefs"]["getReqInformationEndStage"]["customerPrimaryEmail"]]. So the ID was neither mine (SessionID) not the ServiceDeskID.

I then altered my requirement to add the calendar entry to the calendar of the Owner of the Change Request, not the Customer so I used this variable: &[global["flowcoderefs"]["getReqInformationEndStage"]["ownerId"]]. This is where I got the error, despite the actual ID that pulls back being the same person as I used above. Again, the ID was neither mine (SessionID) not the ServiceDeskID.

Are you telling me that the UserID has to be the ServiceDeskID? But if so, that was not the case on 6th March so has this changed (there was a Service Manager release between the two tests I did)? It is also not in the guidance for that field which states "User ID that entry will be assigned to". We were able to use the UserID for my infrastructure manager on 6th March.

 

Link to comment
Share on other sites

  • 2 weeks later...

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...