Add a Component to an Existing Rule
A 4-step recipe with Adobe Launch. We can help you get access.
Recipe · 4 steps
Add a Component to an Existing Rule
with Adobe Launch
Resolve a rule's property, add a component to the rule, then verify by listing.
- Confirm the rule exists before modifying it.
- Resolve the property that owns the rule (components are created under the property).
- Create a rule component linked to the rule and its extension.
- List the rule's components to verify the new component is present.
What you'll need to have ready
- accessToken: OAuth 2.0 Server-to-Server bearer access token from Adobe Developer Console.
- apiKey: Client ID credential sent as the x-api-key header.
- imsOrgId: Adobe Organization ID sent as the x-gw-ims-org-id header.
- ruleId: Id of the existing rule to add a component to.
- componentName: Human-readable name for the new rule component.
- delegateDescriptorId: Delegate descriptor id identifying the event/condition/action type.
- extensionId: Id of the extension that provides this rule component.
For your developer
Arazzo workflow adobe-launch:add-rule-component, 4 operations: getEventForwardingRule → getPropertyForRule → postPropertiesByPropertyIdRuleComponents → listRuleComponentsForRule. Specs on APIs.io.