Ana içeriğe geç

Kod ile Akış Geri Alma

%SystemPath%\Common\eBASystemAPI.dll
using System;
using System.Collections;
using System.Text;
using System.Data;
using eBAControls;
using eBAControls.eBABaseForm;
using eBAFormData;
using eBASystemAPI;
using eBAPI.Connection;

public void gerial_OnClick(Object sender, EventArgs e)
{
eBAConnection con = CreateServerConnection();

con.Open();

try

{

//RollbackFlow(eBAPI.Connection.eBAConnection connection, int processId, int step)

//step kaçıncı stepe alacağınız. 1 yazarsanız 1. stepe gider.
int a=Convert.ToInt32(Text1.Text);

eBASystemAPI.Utils.RollbackFlow(con, a, 2); //processno,hangi stepe geri alınacak flow managerdeki ID

}

finally

{

con.Close();

}
}