Created a Vacation Request in SP2010 and used Nintex workflow with a choice of all day event or date/time. if choose date/time it doesn,t show time on calendar. So if an employee is out for a Dr appointment from 10am to 12pm my time shows 11:59pm to 12am. any ideas on how to correct this?
Solved! Go to Solution.
sorry, from your example it's not clear what are you trying to do in workflow.
describe it in more details and provide examples of your configuration and outcomes you get.
time ranged event and all day event are two contradicting requirements.
if you want to create event for specific time range (10-12) set 'All day event' to NO (or do not set its value at all)
So I understand, but if I change the value to no it does not allow for an All Day Event. We need to have the option. Is this a situation where it is one or the other? you can have a time range or and all day event situation?
it's not to allow or not allow option. it's setting/property of one single event being updated.
just like in your outlook calendar - you either have time ranged events or all day events. an event can not be of both types
if you want different settings for different events create, a yes/no workflow variable and sets its value within workflow based on requirements of event being processed.
finally, instead of setting 'All day event' to static yes/no value, set it to value of that variable.
I am pretty new at this... could you give me a little more information?
Add Variable to set to Yes/No, value based on requirements... can you give more detail on requirements?
are the requirements the choices of Vacation, Illness or Other?
to create a variable is very simple - you will find an option to do that in every configuration dialog.
name is eg. isAllDayEvent, set type to yes/no and a default value.
then within the workflow you should somehow identify whether it should be all day event or not.
you can ask user on submit form to specify it (eg. vacation, illness...) or you can have some rules defined which identifies all day event (eg. if duration is over 8hours then it's considered all day event...). that fully depends on your process requirements.
finally, you have to set 'All day event' calendar item field to value of this variable, so that it defines for a given calendar item whether it's calendar event or not.
do not create your own custom 'All day event" column.
there is one defined by default. it's 'little' hidden and nintex forms somehow can not work with it, but with workflow there shouldn't be a problem.