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

Question

Question

Create Exchange Item

asked on September 29, 2015

Hello,

   After much trial and error, I've managed to get the Create Exchange Item in Workflow to add an appointment to my Outlook calendar. However, I can't seem to figure out how to set it to a specific time frame. All appoint start and end times default on the calendar to 12:00 AM. 

   I've created a form with date pickers for start and end dates, as well as text fields formatted with Regular Expressions of \d\d:\d\d \w\w to capture the time (ex: 10:45 AM). I can add this as a token to the Start Date field within the Edit Exchange Item properties, but then the workflow returns an error stating Required field 'Start Date must have a value. I've scoured the documentation, but can't seem to find what I need.

0 0

Answer

SELECTED ANSWER
replied on September 29, 2015

To clarify, your form has a date field as well as two single line input fields for the start and end times of the appointment?

In Workflow, when configuring the appointment settings in the "Create Exchange Item" activity, you won't be able to insert the single line input field tokens (for your times) from the "Retrieve Laserfiche Forms Content" activity directly. You can use the "Assign Token Values" activity to create new tokens (tagged as datetime) that comprise of the date and start time, and date and end time. Then you can use those new tokens in the appointment. See below:

2 0

Replies

replied on September 29, 2015

Hi Alexander,

 

   Thank you very much for your quick reply and assistance. 

   Yes, I've created the following test form.

I've used the Assign Token Values as you suggested. However, I'm not using the Retrieve Laserfiche Forms Content tool. Instead I'm saving the form to the repository using the Save to Repository Service Task within Forms, then passing the values to a template (fields labeled Starting Date and Ending Date). I pull the values from the template. Here is the test workflow. 

With this configuration, the workflow returns an error stating "Required field 'StartDate' must have a value.

0 0
replied on September 29, 2015

You need a space between the Forms field tokens in Assign Tokens.

2 0
replied on September 29, 2015

Thank you Miruna. I wasn't aware of that.

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

Sign in to reply to this post.