/// <summary>
        /// Executes the get workflow command
        /// </summary>
        public override void ExecuteCmdlet()
        {
            base.ExecuteCmdlet();

            if (string.IsNullOrEmpty(this.TriggerName))
            {
                this.WriteObject(
                    LogicAppClient.RunWorkflow(this.ResourceGroupName, this.Name,
                                               new RunWorkflowParameters()), true);
            }
            else
            {
                LogicAppClient.RunWorkflowTrigger(this.ResourceGroupName, this.Name, this.TriggerName);
            }
        }
예제 #2
0
 /// <summary>
 /// Executes the get workflow command
 /// </summary>
 public override void ExecuteCmdlet()
 {
     LogicAppClient.RunWorkflowTrigger(this.ResourceGroupName, this.Name, this.TriggerName);
 }