protected override async Task <Action <AsyncCodeActivityContext> > ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken) { // Inputs var controlid = ControlID.Get(context); /////////////////////////// // Add execution logic HERE SAPAuto objSAPAuto = new SAPAuto(); String strTextBoxValue = objSAPAuto.Get_TextBox_Value_ByID(controlid); /////////////////////////// // Outputs return((ctx) => { TextBoxValue.Set(ctx, strTextBoxValue); }); }
protected override async Task <Action <AsyncCodeActivityContext> > ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken) { // Inputs var controlid = ControlID.Get(context); var text = Text.Get(context); /////////////////////////// // Add execution logic HERE SAPAuto objSAPAuto = new SAPAuto(); objSAPAuto.TextInputByID(controlid, text); /////////////////////////// // Outputs return((ctx) => { }); }
protected override async Task <Action <AsyncCodeActivityContext> > ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken) { // Inputs var controlid = ControlID.Get(context); /////////////////////////// // Add execution logic HERE SAPAuto objSAPAuto = new SAPAuto(); string strLabelText = objSAPAuto.GetLabelText(controlid); /////////////////////////// // Outputs return((ctx) => { LabelText.Set(ctx, strLabelText); }); }
protected override async Task <Action <AsyncCodeActivityContext> > ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken) { // Inputs var controlid = ControlID.Get(context); var itemkey = ItemKey.Get(context); /////////////////////////// // Add execution logic HERE SAPAuto objSAPAuto = new SAPAuto(); objSAPAuto.TreeView_Select(controlid, itemkey); /////////////////////////// // Outputs return((ctx) => { }); }