Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Demian Adolfo Raschkovan committed Dec 18, 2018
2 parents d64bddf + eea4dcb commit fd1f864
Show file tree
Hide file tree
Showing 28 changed files with 126 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ To see how to use each of the tools includes in this solution, please access to
* 62: [Currency Convert](/docs/CurrencyConvert.md)
* 63: [Get Record ID](/docs/GetRecordID.md)
* 64: [Retrieve User's BU Default Team](/docs/RetrieveUserBUDefaultTeam.md)
* 65 [Get App Module ID](/docs/GetAppModuleID.md) Thanks to [Brent Howard](https://github.com/schwoi)
* 66 [Get App Record Url](/docs/GetAppRecordUrl.md) Thanks to [Brent Howard](https://github.com/schwoi)
* 67 [Is Member Of Team](/docs/IsMemberOfTeam.md) Thanks to [Brent Howard](https://github.com/schwoi)
* 68 [Count Child Entity Record](/docs/CountChildEntityRecord.md) Thanks to [Ravi Kashyap](https://github.com/RaviKKashyap)
* 69 [Get Multi Select OptionSet](/docs/GetMultiSelectOptionSet.md) Thanks to [Ramon Tebar](https://github.com/rtebar)
* 70 [Map Multi Select OptionSet](/docs/MapMultiSelectOptionSet.md) Thanks to [Ramon Tebar](https://github.com/rtebar)
* 71 [Set Multi Select Option Set](/docs/SetMultiSelectOptionSet.md) Thanks to [Ramon Tebar](https://github.com/rtebar)

![](docs/Home_wf1_52.gif)
![](docs/Home_wf1_53.gif)

13 changes: 13 additions & 0 deletions docs/CountChildEntityRecord.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
This step is for getting the total number of child records.

For using this activity you must access here and select the action:

![](CountChildEntityRecord1.gif)

An fill the parameters:

![](CountChildEntityRecord2.gif)

Finally, you can use the int Result of the app as you need:

![](CountChildEntityRecord3.gif)
Binary file added docs/CountChildEntityRecord1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/CountChildEntityRecord2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/CountChildEntityRecord3.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions docs/GetAppModuleID.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
This step is for getting the App ID from the App Name (not the dysplay name).

For using this activity you must access here and select the action:

![](GetAppModuleID1.gif)

Then, the the input parameter with the App Name, you can get the name from here:

![](GetAppModuleID2.gif)

An fill the parameter:

![](GetAppModuleID3.gif)

Finally, you can use the GUID of the app as you need:

![](GetAppModuleID4.gif)
Binary file added docs/GetAppModuleID1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GetAppModuleID2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GetAppModuleID3.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GetAppModuleID4.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions docs/GetAppRecordUrl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
This step is for getting the Record URL for a defined App from the App Name (not the dysplay name).

For using this activity you must access here and select the action:

![](GetAppRecordUrl1.gif)

Then, the the input parameter with the App Name, you can get the name from here:

![](GetAppModuleID2.gif)

An fill the parameter:

![](GetAppRecordUrl3.gif)

Finally, you can use the GUID of the app as you need:

![](GetAppRecordUrl4.gif)

The result is a string like this one: https://orgname.crm4.dynamics.com:443/main.aspx?etc=1&id=aaa19cdd-88df-e311-b8e5-6c3be5a8b200&histKey=612873746&newWindow=true&pagetype=entityrecord&appid=054cec0e-8dfb-e811-a95a-000d3a45d5aa
Binary file added docs/GetAppRecordUrl1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GetAppRecordUrl3.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GetAppRecordUrl4.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions docs/GetMultiSelectOptionSet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
This step allows you to get the values of a multi-select option set attribute from a particular record.

To use this activity, you just need to select the **GetMultiSelectOptionSet** option:

![](GetMultiSelectOptionSet.png)

Then, you need to specify the following input parameters:

![](GetMultiSelectOptionSetInputParameters.png)

* **Source Record URL (required)** : the URL of the record where the corresponding attribute is located.
* **Attribute Name: (required)** : logical name of the attribute whose values are going to be retrieved.
* **Fail on Exception (optional)** : this is a secondary attribute which allows you to indicate if the activity will throw an exception if something goes wrong or it will just return the error in an output parameter.

The output parameter **Selected Values** returns a string with the corresponding results **separated by comma**. So that you can check them using the contains operator for example.

You can also find an example in this article:

[https://ramontebar.net/2018/12/12/getting-multi-select-option-set-values-in-workflows/](https://ramontebar.net/2018/12/12/getting-multi-select-option-set-values-in-workflows/)
Binary file added docs/GetMultiSelectOptionSet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GetMultiSelectOptionSetInputParameters.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/Home_wf1_53.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions docs/IsMemberOfTeam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
This step is for asking if a defined user is member of a team or not.

For using this activity you must access here and select the action:

![](IsMemberOfTeam1.gif)

An fill the parameters (User and Team):

![](IsMemberOfTeam2.gif)

Finally, you can use the result as you need (boolean):

![](IsMemberOfTeam3.gif)
Binary file added docs/IsMemberOfTeam1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/IsMemberOfTeam2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/IsMemberOfTeam3.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions docs/MapMultiSelectOptionSet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
This step allows you to copy multi-select option set attributes between two records.

To use this activity, you just need to select the **MapMultiSelectOptionSet** option:

![](MapMultiSelectOptionSet.png)

Then, you need to specify the following parameters:

![](MapMultiSelectOptionSetInputProperties.png)

* **Source Record URL (required)** : Dynamics URL of the record whose multi-select option set attributes will be copied from. Notice the Dynamics workflow designer allows you to create this URL easily for the accessible entities in the workflow context.
* **Source Attributes: (required)** : list of attributes separated by comma to be copied.
* **Target Record URL (required)** : Dynamics URL of the record where the attributes will be copied to.
* **Target Attributes: (required)** : list of attributes separated by comma where the original values are copied to. For the mapping to be correct, **the order needs to be the same as the Source Attributes**.
* **Fail on Exception (optional)** : this is a secondary attribute which allows you to indicate if the activity will throw an exception if something goes wrong or it will just return the error in an output parameter.

You can also find an example in this article:

[https://ramontebar.net/2018/12/08/copying-multi-select-option-sets-in-workflows/](https://ramontebar.net/2018/12/08/copying-multi-select-option-sets-in-workflows/)
Binary file added docs/MapMultiSelectOptionSet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/MapMultiSelectOptionSetInputProperties.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions docs/SetMultiSelectOptionSet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
This step allows you to update the value of a multi-select option set attribute for a particular record.

To use this activity, you just need to select the **SetMultiSelectOptionSet** option:

![](SetMultiSelectOptionSet.png)

Then, you need to specify the following input parameters:

![](SetMultiSelectOptionSetInputParameters.png)

* **Target Record URL (required)** : URL of the record to be updated.
* **Attribute Name: (required)** : logical name of the attribute to be updated.
* **Attribute Values: (required)** : option set values to be set. They should be **separated by comma**. In case you want to **clear the values**, just use an **empty string like “”**. See an example below.
* **Fail on Exception (optional)** : this is a secondary attribute which allows you to indicate if the activity will throw an exception if something goes wrong or it will just return the error in an output parameter.

You can also find an example in this article:

[https://ramontebar.net/2018/12/12/updating-multi-select-option-set-attributes-in-workflows/](https://ramontebar.net/2018/12/12/updating-multi-select-option-set-attributes-in-workflows/)
Binary file added docs/SetMultiSelectOptionSet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/SetMultiSelectOptionSetInputParameters.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fd1f864

Please sign in to comment.