Skip to main content
I have created a new global action to create a task.  I have several predefined values set up to make the creation quick and easy for users.  There are two things I'm having trouble with:

 

1. Assigned To - for my specific action I want to predefine the task to be assigned to a specific user.  I'm trying to acheive that in the formula but getting errors every way I try.  Is this possible to do?  My most recent formual attempt was:

 

$User.Id = "00570000001dxzl"

 

and the error message is: Error: Formula result is data type (Boolean), incompatible with expected data type (Lookup(Calendar,User)).

 

2. Reminder Date/Time - for this action I also want to set the predefined action on the task to have a reminder (envoke the pop up in the browser) to be set for NOW().  While this syntax saves just fine, the NOW() is always being set for +12 hours.  I know date and times are ticky and stored in UTC I think and then displayed in the running users time zone (that could be wrong??) but I'm the running user envoking the NOW() during testing and it shows up +12 hours.  Any ideas?
4 个回答
  1. 2014年11月15日 05:45
    Hi Jessica - for #1, try using single quotes '005...' vs. double quotes.

     

    For #2: whenever a date/time is set via the database and not through UI, it's set using GMT time.  Find the GMT offset for your time zone and factor that into your equation.  So, you could say Now() + ((1/24) *12) or Now() - (1/24)*12).  Whatever your offset is.

     

    Hope that helps!

     

    - LT