Hi I am trying to add new button to Work queue and I want that button to perform same operation as ME menu ‘End Activity’ button. Till so far I am able to call the End Activity form via launch form, but I also need to pass the Active work data view so that when end Activity form loads it has all the value filled automatically from the data view. So can anyone tell me how to pass Data view to End Activity form with launch form?
This is my code on button click to call End activity Form:
private void btn_End_Click(object sender, System.EventArgs args)
{
//this edv contain data from Active work data view**
EpiDataView edv= (EpiDataView)(oTrans.EpiDataViews[“ActiveWork”]);
//This will call End activity form window**
ProcessCaller.LaunchForm(WorkQueueForm,“OP-06.01”);
}
See the attached below.