Skip to content

Commit

Permalink
1.0.61.1 - Solved an issue on SetProcessStage.cs Code regarding Conso…
Browse files Browse the repository at this point in the history
…le.WriteLine() and Environment.Exit(1);
  • Loading branch information
demianrasko committed Jan 29, 2021
1 parent b163bcd commit 32806c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")]

0 comments on commit 32806c0

Please sign in to comment.