Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Prerequisites:

...

7. We are going to optimize the flow for Fast Field Updates. Click Done after setting this option.

...

8. Let's add logic that will work as an if/else statement. We can accomplish this by using the Decision flow element.

...

9. Set a label for the new decision element ('Test Conditions' in our case) and give a name to the outcome that will evaluate our condition to 'true' (we've set it as 'YES' here).

...

10. In the Resource search bar choose $Record → Application tag field and check if:

  • Application tag value is equal to the name of the Cloudaware Application you've created before (Prerequisites).

  • Environment tag value is equal to one of the Application Tiers of the Cloudaware Application.

...

11Before specifying flow actions, we need to create a formula resource to get values from Application Tag and Environment Tag values. Open the ToolBox in the top left and click New Resource

...

9. Choose Formula resource type, specify the API name for it and choose ‘Text’ as the Data Type.

The formula should be formatted in the following way: {!$Record.<Application_Tag>} & " - " & {!$Record.<Environment_Tag>}.

...

10. Now we can configure the next action that will be performing the actual Application Tier Client Name field update on an a triggered object record. Click on the plus sign under 'YES' and choose Choose Update Triggering Record in the shortcuts menu.

...

1211. Set a label for the new element, and keep the 'Use the aws ec2 instance record that triggered the flow' option selected. In the Set Field Values for the Record specify the Application Tier Client Name as the field and Application tag - Environment ApplicationTierClientNameFormula as the value (in our example it's going to be 'TestApp - production' ) . Click Done.

...

1312. After saving the flow the Activate button will become available. Click Activate.

...

Now the background process will be automatically matching the Application Client Tier Name values for triggered records with existing Cloudaware Applications and Application Tiers and perform the attachment.

Objects triggered by the flow and also their related objects (such as Network Interfaces and EBS Volumes for EC2) will be automatically attached to the appropriate application within 24 hours.

...