GetListItem error on a non default button when running an approval workflow

  • 9 June 2016
  • 1 reply
  • 0 views

Badge

Hi All, 

 

I am trying to run a workflow from a new button that has been vreated on the edit form for an initail approval. When the button is clicked the workflow begins and sends ou an approval email. However when i try to open the list item i get an error (see below). Being new to using K2 Appit I am not sure how to resolve the issue as this has holted the progress of  the system I am creating and needs to be rosolved ASAP .

 

 

Thanks


14004i5DD931B20F70C906.png

1 reply

Badge +4

Hi,

 

The error is stating that yhe ID property is required for the GetLIst Item which is simply stating that you are not pasing in the id to the method that loads the List item or the value that is passed in is null.

 

Check your view/form initialize rule and make sure you pass in a ID to the Load method.

 

HTH

Jurie

Reply