You are viewing limited content. For full access, please sign in.

Question

Question

Create Exchange Item adding to a specific calendar

asked on May 14, 2014

I have been tasked with a workflowing a "Time Off Request" task and automatically adding the time off date to a specific calendar for the users manager. I am able to add the event to the default calendar but adding it to "DepartmentTimeOff", a custom calendar we created, using the "Calendar" property has proven difficult. I have a feeling I am either misunderstanding the purpose of this property or misusing the syntax for the calendar name. Workflow returns the message "Folder or Calendar "DepartmentTimeOff" was not found."

 

Does anyone have an example of how I would get the correct sytax? So far I have tried:

 

DepartmentTimeOff

Username:\DepartmentTimeOff

e-mail:\DepartmentTimeOff

LastName, First Name - DepartmentTimeOff

 

and many variations in between. 

 

1 0

Answer

SELECTED ANSWER
replied on May 15, 2014

Check the location in the Calendar's properties, that is where you are assigning it to (for the user in the "assign to" field).

 

0 0

Replies

replied on May 14, 2014

Are you filling in the "assign to" field beneath it?

 

 

Check the user it is assigning to and that the calendar exists there and the workflow user has rights to it. I just re-verified on mine and it worked. If you do not fill in that field it assigns it to a calendar on for the workflow user. I'd also manually add the calendar to that user in outlook and check there.

 

As for your original question of the syntax, it is just the calendar name, see below:

 

 

2 0
replied on May 15, 2014

Matt,

 

That is exactly how I have it filled out. May I ask, what version of workflow / exchange are you using for this system?

 

I am running exchange 2010SP2 and Workflow Designer 9.1.1.365.

 

Here is an example of the one I am testing for adding to my calendar. 

 

calendar.PNG
email.png
Edit Exchange Item.png
calendar.PNG (2.47 KB)
email.png (2.94 KB)
0 0
SELECTED ANSWER
replied on May 15, 2014

Check the location in the Calendar's properties, that is where you are assigning it to (for the user in the "assign to" field).

 

0 0
replied on May 15, 2014

The assign to was correct but the location field tipped me off to something. The new calendar was under the main calendar in hierarchy, it was on the same level. When I moved my DepartmentTimeOff calendar under the normal "Calendar" like you have it in the screen shot it worked great. Thank you for all the help!

 

0 0
replied on May 15, 2014

Great to hear, glad it worked out!

0 0
replied on May 26, 2015

Hello Folks. I'm trying to do something very similar, and using this post as a guide, but it simply refuses to write an appointment. Is there some other tweak or bit of permission/credential/whatever that you can think of that might be at odds? 

Thanks, 

John H

0 0
replied on May 26, 2015

Are you getting an error? Are you trying to write to the account authenticating to Exchange or a different user's mailbox? Are you using Exchange 2010 or later?

0 0
replied on May 27, 2015

Hello Miruna; No, not getting an error. I am using default credentials, and the 'test URL' link on the web services dialogue returns 'success'. The mailbox I am trying to write to is the same as the default credentials (ie, mine). Using Exchange 2010

 

0 0
replied on May 27, 2015

Are you sure there is no error or even a warning message generated in your Workflow? If there is not it would make me thing the creation task is not enabled. You should be able to follow the workflow through and see where the task was executed.

 

Does the task complete? 

0 0
replied on May 27, 2015

Hello Trevor; I've run this little thing ten times, but do not find errors in the logs (or popping up, wherever). The task seems to complete, since a subsequent task executes correctly. The create task IS enabled, insofar as a right click offers 'disable'. Please bear in mind that I'm fairly new (very new) to workflow, so sometimes finding stuff takes time. How do I 'follow the workflow'...? Is it like stepping through it, with some sort of debugger turned on? 

Thanks, 

John H

0 0
replied on May 27, 2015

Actually, default credentials would use the Workflow Server login. Is that service running as you?

0 0
replied on May 28, 2015

Well, thank you, Miruna; the workflow service is running under a different set of credentials. I gave that user write permission on my calendar, and it now works. Thanks again, 

John H

0 0
replied on May 14, 2014 Show version history

"Folder or Calendar _ was not found" most likely means the user that workflow is logging into exchange as does not have access to that calendar.

 

This user:

Needs to be given permissions to the calendar it is accessing in outlook:

 

0 0
replied on May 14, 2014

Matt,

 

Thank you for the quick response. The authentication we are using to connect to our exchange server is also being used to create an exchange item on other calendars and has full rights to manage all of the mailboxes. Just to double check I tried making a new exchange connection with a domain admin as the auth account, and then again with me as the auth account (the calendar is one of mine for testing purposes. Sadly these both returned the same error message. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.