Skip to Content
0

Why won't transaction save after open ui calls agentry action?

Oct 28, 2016 at 02:12 PM

37

avatar image
Former Member

The below code runs the action it's supposed to call. Inside the action is a transaction with a steplet. After the transaction a message saying the action ran.

if (!String.IsNullOrEmpty(outData)) {

//AgentryClientSDK.IAgentryControlViewModel viewmod = DataContext as AgentryClientSDK.IAgentryControlViewModel; SMPActionResult result = vm.ExecuteAgentryAction("Z_UpdateDriveXOutDataWrapper"); Boolean actenab = vm.IsAgentryActionEnabled("Z_UpdateDriveXOutDataWrapper"); //MessageBox.Show(actenab.ToString()); MessageBox.Show(outData); }

On execution the message from the action pops up saying the action was ran but when I go to sync it seems that the transaction was not saved as the steplet does not fire. Yes I have an apply step.

Why?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Oct 28, 2016 at 02:16 PM
0

capture.pngHere's a better look at the code...


capture.png (14.5 kB)
Share
10 |10000 characters needed characters left characters exceeded