Email Automation.Outlook- Get Account List

GetAccountList

When to use the GetAccountList Activity

Use this activity when you want to get a list of multiple accounts.

Figure 1

1

Drag and drop a GetAccountList activity on the canvas. Fill in all necessary details in the appropriate fields of the Property Window. Refer Figure 6.

Drag and Drop a Write Log activity to the workflow and provide the Log Level and the Input List of String with an integer to display the list of Accounts associated with the given Account name. If it is the first value on the list, number to be provided must be 0. if you want to fetch the second value, the input number must be 1 and so on.  Execute.

Figure 2

2

Since the Output is to be extracted as a list, in the Property window of the activity, specify a list of string variable in the Account List field in the Output tab, to display the result as a list.

Figure 3

2

Write Log Input String

Input List of String with an integer to display the list of Accounts associated with the given Account name. If it is the first value on the list, number to be provided must be 0. if you want to fetch the second value, the input number must be 1. Execute.

Figure 4

2

 

Write Log Output

It will return the username and the user email address. In this example, there is only one account, hence it displays one account. In the event of having multiple accounts it will display all the accounts.

Figure 5

2

Technical Reference

Figure 6

1

List of String

Select Browse for Types from the Variable Type dropdown.

Figure 7

2

Make the appropriate selections and select string from the dropdown. Click on Ok. The list of String variable will be created.

Figure 8

3

 

 

Release date
Version
5.0.4