On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.

Using LapiWorkflow.ListWorkflowInbox Method

Hi Everybody,

Does anybody know how to get workflow tasks list correctly?

I try using the follwing code:

int TaskCount = 0;

LLRecArray TaskList = new LLRecArray();

livelinkConnection.LapiWorkflow.ListWorkflowInbox("Todo2", "SubWork_Title like 'Request for%'", "SubWorkTask_DateReady DESC", (long)1, 0, out TaskCount, out TaskList);

 But it returns me an Exception :

System.NullReferenceException was unhandled by user code
Message: Object reference not set to an instance of an object.