diff --git a/msdyncrmWorkflowTools/msdyncrmWorkflowTools/Class/SetProcessStage.cs b/msdyncrmWorkflowTools/msdyncrmWorkflowTools/Class/SetProcessStage.cs index 21c4276..9ff7cb1 100644 --- a/msdyncrmWorkflowTools/msdyncrmWorkflowTools/Class/SetProcessStage.cs +++ b/msdyncrmWorkflowTools/msdyncrmWorkflowTools/Class/SetProcessStage.cs @@ -119,7 +119,7 @@ protected override void Execute(CodeActivityContext executionContext) _processOpp1Id = activeProcessInstance.Id; // Id of the active process instance, which will be used // later to retrieve the active path of the process instance - Console.WriteLine("Current active process instance for the Opportunity record: '{0}'", activeProcessInstance["name"].ToString()); + objCommon.tracingService.Trace("Current active process instance for the Opportunity record: '{0}'", activeProcessInstance["name"].ToString()); // Get the BPF underlying entity logical name var uniqueProcessNameAttribute = "uniquename"; @@ -130,8 +130,8 @@ protected override void Execute(CodeActivityContext executionContext) } else { - Console.WriteLine("No process instances found for the opportunity record; aborting the sample."); - Environment.Exit(1); + objCommon.tracingService.Trace("No process instances found for the opportunity record; aborting the sample."); + } objCommon.tracingService.Trace("Starting the update"); diff --git a/msdyncrmWorkflowTools/msdyncrmWorkflowTools/Properties/AssemblyInfo.cs b/msdyncrmWorkflowTools/msdyncrmWorkflowTools/Properties/AssemblyInfo.cs index d7456cf..fab11d6 100644 --- a/msdyncrmWorkflowTools/msdyncrmWorkflowTools/Properties/AssemblyInfo.cs +++ b/msdyncrmWorkflowTools/msdyncrmWorkflowTools/Properties/AssemblyInfo.cs @@ -33,5 +33,5 @@ // Puede especificar todos los valores o usar los valores predeterminados (número de compilación y de revisión) // usando el símbolo '*' como se muestra a continuación: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.61.0")] -[assembly: AssemblyFileVersion("1.0.61.0")] +[assembly: AssemblyVersion("1.0.61.1")] +[assembly: AssemblyFileVersion("1.0.61.1")]