I'm creating a Checklist task via the API, but the task does not appear on the 'Task Tab' in the application. What do I need to do to accomplish this?
Thanks,
Landon
Checklist Task added with API
-
- Posts: 91
- Joined: Wed Sep 10, 2008 3:33 pm
- Location: Raleigh, NC
- Contact:
Re: Checklist Task added with API
Do you mean that you're not seeing your checklist task on the Checklist Tasks tab inside the order tab, or that you're not seeing it in the My Orders queue's "Task View"?
Melissa McBerkowitz
VP of Product Strategy, SoftPro
VP of Product Strategy, SoftPro
Re: Checklist Task added with API
How are you adding them? I haven't had any problems adding Checklist tasks.muhsmann wrote:I'm creating a Checklist task via the API, but the task does not appear on the 'Task Tab' in the application. What do I need to do to accomplish this?
Thanks,
Landon
Robert
Re: Checklist Task added with API
Code: Select all
order.ChecklistTask.CreateNew();
ITrustee _orderValidationUser = order.AllUsers.FirstOrDefault(t => t.UserName == SP_ORDER_VALIDATION_USER);
order.ChecklistTask[0].AssignedTo = _orderValidationUser;
order.ChecklistTask[0].Task = SP_ORDER_VALIDATION_TASK;
order.ChecklistTask[0].Status = SP_TASK_STATUS;
Code: Select all
private const string SP_ORDER_VALIDATION_USER = @"Order_Validation";
private const string SP_ORDER_VALIDATION_TASK = "Order Validation";
private const string SP_TASK_STATUS = "Required";
Re: Checklist Task added with API
That's pretty close to what I'm doing. Are you saving the order before you go onto the next one? (I assume you are, but just covering bases).
Robert