UF-OUT-OF-PROCESS
Send Execution Out of Process
00000008
var uf = "UF-001"; //Enter the UF you wish to run out of process
UniversalFunctions.Model.IFunctionActivationArguments args = new UniversalFunctions.Model.FunctionActivationArguments(uf)
{
AddOnData = SBO.AddonLogic.Addon.AddonData,
CommonEvent = new UniversalFunctions.Model.CommonEventObject(true, -1, -1, eventForm.TypeEx, null, null),
CurrentForm = eventForm
};
System.Threading.Tasks.Task.Factory.StartNew(() =>
{
UniversalFunctions.Module.ExecuteUniversalFunction(uf, args, "Custom");
});
0
UF-OUT-OF-PROCESS
Y
0