Still its not created...can we assign a task to standard platform user through chatter free user..i posted the my code..but its not create a tsk for standard platform user...
List<User> users = [SELECT Id FROM User where Profile.Name = 'System Adminstrator' Limit 1]; has a spelling mistake, should be 'System Administrator', you can not select a user to insert a Task with current SOQL.
add:
insert newTask;
hi jia hu
Still its not created...can we assign a task to standard platform user through chatter free user..i posted the my code..but its not create a tsk for standard platform user...
can u suggest me please
Thanks&Regards
bahgi
Error:insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, You do not have permission to share files.: []
And here is my code
has a spelling mistake, should be 'System Administrator', you can not select a user to insert a Task with current SOQL.
Hi Jiahu
As you said i made the changes..but still the task is not created to System Adiministrator..
Thanks&Regards
Bhagi