How to set taskAssigneeId
I have a table [Users] already populated and I would like to use the users' IDs [UserId] as taskAssigneeIds,
I actually need so because I have to store actions and there respective executors in another table which has a foreign key referencing [Users].[UserId]
All these tables already exist, and I can't afford to alter any of them.
Couple of questions as not quite clear,
Where does table [users] come from and how is it populated? Is it from the Bonita Organization/Users? Are you using the Bonita userid as [userId]
If so then this is quite easy, use:
assignUserTask(long userTaskId, long userId)
if not then you need to map your userid to Bonita userId
Hope that helps, regards
In the User of Bonita use a customfield to save the [userid-other] then use that as your actor selector field to choose the person you want and then take their id from bonita...
You would then have to run an overnight sync process to ensure the two tables sync...
That should do it...