To deliver a code-free environment where projects can be created and deployed quickly, appRules employs “Sourced Values”. In simple terms, a Sourced Value allows you to quickly select a source for a value and an identifier for it. To specify a sourced value, you select the Source and then specify a value identifier (Source Value Identifier). Below are some examples of the many sourced values used in appRules:
Source | Value Identifier |
---|---|
The above examples give you an idea of how Sourced Values are defined and used in appRules. They can be used to get and set data anywhere in your projects.
By providing a rich set of editors to manage Sourced Values, appRules is able to provide a very powerful and flexible combination that gives users the fastest and most compact environment for configuring workflow activities, actions, conditions, and orchestrating processes.
Below is an example of Sourced Values used for configuring a query:
The example below shows Sourced Values in use for mapping.
Below is the full list of Sourced Values:
Source | Value Identifier |
---|
ActionField |
Argument | Get/Set value using an argument passed to the project. Use button to select or define arguments. |
CalendarYear |
Concatenation | Get/Set value by concatenating multiple values including text, Data Fields, etc. |
ConditionResult | Get/Set result of executing a Condition |
ConnectionString | Get/Set value by configuring a connection string. |
DataFieldValue | Get/Set value using the current value of a field in the current record of a Source or Target activity in the project. |
Date | Get/Set value using a Date. Use editor button to enter a Date, select Date function, add TimeSpan etc. |
DateTime | Get/Set value using a DateTime. Use button to enter a DateTime, select DateTime function, add TimeSpan, etc. |
Decimal | Get/Set value using a Decimal value. |
RuntimeSettingField | Get/Set value from a pre-defined runtime setting field. Use editor button to select or define Runtime Setting Fields. |
Double | Get/Set a value using a Double data type. |
DynamicValue | Get/Set value using an appRules dynamic value. You can use one of the predefined values or enter a unique name. |
Expression | Get/Set value from the result of executing an expression (JavaScript). Use editor button to enter Expression. |
FilePath | Get/Set value as file path in file system |
FiscalYear |
Guid |
Html |
Single | Get/Set value as Single data type. |
SourceDataFieldValue | Gets a data field value in the current Source. |
String | Get/Set value as String data type. |
TargetDataFieldValue | Gets a data field value in the current Target. |
System | Get/Set a System value |
TimeSpan | Get/Set value as TimeSpan |
Variable | Get/Set value using a pre-defined Variable. Use button to select or define Variables |
String
The String source allows you to enter any value in the value identifier.
Example:
String:John Smith
DataFieldValue
The DataFieldValue source gets a value from a record that exists in a specific Source or Target in the project.
Example:
DataFieldValue:Employees.LastName
Gets the value of the LastName column in the Employees record.
DateTime
The DateTime sourced value points to a date/time related value. They can also be used to specify other date/time related data. Example:
DateTime:DateTimeNow
Generates the current date/time.
ActionField
The ActionField source allows you to select an action that you have defined using the Action Editor to get a value.
Get/Set value using an ActionField defined in Actions.
Get/Set value as calendar year. Enter calendar year or select:
.
Get/Set value as Fiscal Year. Enter fiscal year or select from list
Get/Set value from a Guid. Enter the Guid or select "New Guid".
Get/Set value using Html.
.