Skip to content

Commit

Permalink
Merge pull request #42 from NileshGhodekar/master
Browse files Browse the repository at this point in the history
Query and Iteration Support for SendEmailNotification and other misc. changes
  • Loading branch information
NileshGhodekar authored Jul 21, 2017
2 parents 0124e93 + 9953220 commit 8c115bf
Show file tree
Hide file tree
Showing 18 changed files with 1,460 additions and 200 deletions.
4 changes: 2 additions & 2 deletions src/VersionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ internal static class VersionInfo
/// Build Number (MMDD)
/// Revision (if any on the same day)
/// </summary>
internal const string Version = "2.17.0414.0";
internal const string Version = "2.17.0716.0";

/// <summary>
/// File Version information for the assembly consists of the following four values:
Expand All @@ -31,6 +31,6 @@ internal static class VersionInfo
/// Build Number (MMDD)
/// Revision (if any on the same day)
/// </summary>
internal const string FileVersion = "2.17.0414.0";
internal const string FileVersion = "2.17.0716.0";
}
}
47 changes: 46 additions & 1 deletion src/WorkflowActivityLibrary.UI/ActivitySettings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 16 additions & 1 deletion src/WorkflowActivityLibrary.UI/ActivitySettings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
<value>A Search Target XPath must be supplied.</value>
</data>
<data name="DefinitionsConverter_NullOrEmptyDefinitionsTableError" xml:space="preserve">
<value>The definitions table is null or corrupt</value>
<value>The definitions table is corrupt.</value>
</data>
<data name="ValueExpressionUniquenessKeyValidationError" xml:space="preserve">
<value>Only the last value expression in the list can leverage the [//UniquenessKey] lookup.</value>
Expand Down Expand Up @@ -810,4 +810,19 @@
<data name="PowerShellUserPasswordValidationError" xml:space="preserve">
<value>Specify the PowerShell user password.</value>
</data>
<data name="WorkflowDataVariables" xml:space="preserve">
<value>Workflow Lookup Variables</value>
</data>
<data name="WorkflowDataVariablesHelpText" xml:space="preserve">
<value>Specify the Workflow Lookup Variables to be used in the email template.</value>
</data>
<data name="WorkflowDataVariablesLeftHeader" xml:space="preserve">
<value>Value Expression</value>
</data>
<data name="WorkflowDataVariablesRightHeader" xml:space="preserve">
<value>Target</value>
</data>
<data name="WorkflowDataVariablesDefinitionValidationError" xml:space="preserve">
<value>One or more workflow lookup variable definitions are incomplete</value>
</data>
</root>
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,15 @@ public DefinitionsConverter(IEnumerable<DefinitionListing> definitionListings, A
public DefinitionsConverter(Hashtable definitionsTable)
{
// This constructor handles a hash table which is deserialized from an activity definition's XOML
// Throw an exception if the hashtable is null or missing the Count key which indicates how many definitions it stores
if (definitionsTable == null || !definitionsTable.ContainsKey("Count"))

// Do nothing if the hashtable is null. This is to allow backward compatibility of the old Activity UI XOML when a newer version is introduced
if (definitionsTable == null)
{
return;
}

// Throw an exception if the hashtable is missing the Count key which indicates how many definitions it stores
if (definitionsTable != null && !definitionsTable.ContainsKey("Count"))
{
throw Logger.Instance.ReportError(new ArgumentException(ActivitySettings.DefinitionsConverter_NullOrEmptyDefinitionsTableError, "definitionsTable"));
}
Expand Down
Loading

0 comments on commit 8c115bf

Please sign in to comment.