Answered by:
Calendar Entry in team calendar

Question
-
I have a list where documents are being uploaded from seperate systems. Now, I want that as soon as the document is uploaded into that list, a calendar entry is created in the team calendar that a document was uploaded by this user. I was trying to set the workflow from sharepoint designer and I can send an email, but was not able to find out how to create a calendar entry in the team calendar.
Wednesday, April 8, 2009 4:36 PM
Answers
-
I don't have any recommendations for documentation around creating workflows in SPD. However, here are the exact steps I took that worked for me in SharePoint Online.
These steps assume you have alredy associated your workflow to a list and configured your conditions.
1. Create new action for "create list item"
2. Select calendar as the list
3. Select titele and click Modify
4. Click the formula icon (fx)
5. Source should say "Current Item" select a field. I'm working with an announcement so I chose "title"
6. Click OK twice
7. Select Start Time and Click Modify
8. Click the formula icon (fx)
9. Source should say "Current item" select a feild. I chose "created"
10. Click OK twice
11. Select end timeand Click Modify
12. Click the formula icon (fx)
13. Source should say "Current item" select a feild. I chose "created"
14. Click OK twice- Marked as answer by swatijain Monday, April 13, 2009 6:02 PM
Saturday, April 11, 2009 12:18 AM
All replies
-
You can do this using SharePoint Designer. Under actions click "more actions" then select Create List Item. From here you can specify what calendar you want to add an item to.
- Proposed as answer by Troy Hopwood [MSFT] Thursday, April 9, 2009 1:33 AM
- Marked as answer by swatijain Thursday, April 9, 2009 1:22 PM
- Unmarked as answer by swatijain Thursday, April 9, 2009 3:16 PM
- Unproposed as answer by swatijain Thursday, April 9, 2009 3:16 PM
Thursday, April 9, 2009 1:32 AM -
While setting value in the calendar using the above solution, I have the below problem. One can update a column in a list to a set time or 'Today.' In my case I need to record a timestamp for workflow created.
Set to Today through the UI results in 12:00am. I wanted to populate it it including the current timestamp. After much research I'm amazed that this hasn't been documented. What should I do if I want current date time value with the exact current time in the start date field in the calendar entry.
Thursday, April 9, 2009 3:18 PM -
Yeah, you can do that. When you specify the values for create new list item, instead of choosing today, click the formula icon. Here you can select the source and field. For source select the list where the document was added. THen field select "created". This will give you a calendar entry for the exact date and time that the document was uploaded.
- Proposed as answer by Troy Hopwood [MSFT] Thursday, April 9, 2009 10:18 PM
- Unproposed as answer by swatijain Friday, April 10, 2009 3:05 PM
Thursday, April 9, 2009 10:17 PM -
Somehow, this does not seem to work. When I was setting the value to Today, I was getting a calendar entry at 12 am. With the change you are suggesting, I am not able to get any calendar entry at all. I can't figure out what's wrong. The list says that the workflow was completed, still there is no entry. Is there any way to debug a workflow? Can you guide me towards some documents or links which deal with advanced handling of workflows in Sharepoint.
- Proposed as answer by Troy Hopwood [MSFT] Saturday, April 11, 2009 12:18 AM
Friday, April 10, 2009 2:10 PM -
I don't have any recommendations for documentation around creating workflows in SPD. However, here are the exact steps I took that worked for me in SharePoint Online.
These steps assume you have alredy associated your workflow to a list and configured your conditions.
1. Create new action for "create list item"
2. Select calendar as the list
3. Select titele and click Modify
4. Click the formula icon (fx)
5. Source should say "Current Item" select a field. I'm working with an announcement so I chose "title"
6. Click OK twice
7. Select Start Time and Click Modify
8. Click the formula icon (fx)
9. Source should say "Current item" select a feild. I chose "created"
10. Click OK twice
11. Select end timeand Click Modify
12. Click the formula icon (fx)
13. Source should say "Current item" select a feild. I chose "created"
14. Click OK twice- Marked as answer by swatijain Monday, April 13, 2009 6:02 PM
Saturday, April 11, 2009 12:18 AM -
Thanks a lot Troy.Monday, April 13, 2009 6:02 PM