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

Question

Question

Workflow stuck on Create Exchange Item after creating item successfully

asked on May 5, 2021

Hi everyone,

I’m currently trying to setup directly writing an Outlook/Exchange Appointment to my Office 365 account using the Create Exchange Item activity.

I got the appointment to write to my account quite easily, but I’m struggling to move forward because LF Workflow seems to hang/get stuck on the Create Exchange Item activity after it has done its job and successfully added the appointment.

Has anyone run into and fixed this before? Or does anyone have any tips on how I might be able to troubleshoot what is happening with this type of activity?

 

The Web Service Config

---------------------------------

Name: Office365

Type: Exchange®

URL: http://outlook.office365.com

(Test completes fine, no errors)

 

Use the following credentials:

User name: myemail@mydomain.com

Password: My password

Run activities that use this web service as a task & Accept invalid certs both checked (although I’ve tried with run as task off)

 

Advanced: Auth method: Use Workflow user

 

The Appointment Config

---------------------------------

Subject: Test Apt

Start Date %(DateTime)

End Date: %(DateTime)

Time Zone: Pacific

0 0

Replies

replied on May 25, 2021

Finally was able to get this to work. Turns out you need to select "Custom" as the web service type to have the workflow disconnect successfully.

When I initially did this by going through the Workflow Admin Console I got a can't find web service error when trying to use the service in the activity, so I figured this activity must not support custom type web services (which would kind of make sense since it's an Exchange specific activity).

However, editing the web service to change the type from Exchange to Custom by going through the properties panel>Manage Web Services...>Edit seems to do the trick. Note if you select the server dropdown, it will disappear, so once you have it set, don't touch it. 

0 0
replied on January 20, 2022

I have tried your solution  - I am able to create a web service and it successfully connects if i create http://outlook.office365.com as a Custom web service.... BUT it wont let me add it to the activity

0 0
replied on January 20, 2022

It's been awhile since I dealt with this, so I can't provide exact instructions, but if I recall correctly doing these steps in order should work:

1. Create the workflow activity

2. Create and add the web service

3. Select the service in the drop down in properties

4. Go into Workflow Admin console (Tools > {servername} > External Objects > Web Services), select and edit the service from there (change Exchange to Custom)

The activity in workflow should retain the server and settings as long as you don't open the drop down in properties.

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

Sign in to reply to this post.