5 votes
Accepted

Configure inArguments and outArguments

In order to use the outArgument from one REST activity as an inArgument for another REST activity the schema is required. The schema is needed to compare the data types of the value being passed. ...
user avatar
  • 121
5 votes
Accepted

Retrieving a Journey Builder Interaction ID using Data Binding

Realizing this question is over a year old I thought I would still add my answer that does not require an API call but instead uses Postmonger. Using the Postmonger events requestInteraction and ...
user avatar
4 votes

Using an Event context in Journey Builder Data Bindings

I don't know of any possibility to retrieve the event definition key using data binding, but here is the solution I use for my custom activities: I added a field to the configuration dialog of the ...
user avatar
3 votes
Accepted

How to Databind with JSON response from off of the salesforce platform?

The simplest way is to make sure you deserialize the JSON response into a custom Apex class. You will create an apex class that resembles the response you obtain from the external system. There is a ...
user avatar
3 votes
Accepted

Custom Activity Data Binding with Salesforce Objects

For Salesforce Entry Events, this is a bit different and you need to add double quotes around the path/column name to the field. So for your case this should look like this: "fieldKey": "{{Event." + ...
user avatar
3 votes
Accepted

How to data-bind to an array element to pass to a dynamically created component?

I kept working at it and I found that I can use array indexing in the cmp.getReference() so data-binding is applied correctly. createChildComponent : function(prop) { return ["c:childComponent", {...
user avatar
3 votes
Accepted

Using an Event context in Journey Builder Data Bindings

Another option apparently is using requestedInteraction together with a requestInteraction event called by the Custom Activity. Here is an example code: connection.on('requestedInteractionDefaults', ...
user avatar
  • 4,697
3 votes
Accepted

Lightning Component Field Binding conditional expression

The easiest way do to this would be to use aura:if: <aura:if isTrue="{!v.flag}"> <c:CstmComp value="{!v.Case.Field1__c}"/> <aura:set attribute="else"> <c:CstmComp value=...
user avatar
  • 439k
3 votes
Accepted

Using Data Binding in Journey Builder Activities

What you should do is follow this example and use AMPscript in your subject. "inArguments":[ { "firstName":"{{Contact.Attribute.__your-de-name__.FirstName}}"}, { "lastName":"{{Contact....
user avatar
2 votes

Retrieving a Journey Builder Interaction ID using Data Binding

You can also use the 'activity customer key' there. It will look like "REST-1", "WAIT-3", "MOBILE-2", etc. { "caseID":"{{Interaction.REST-1.caseID}}" } You can get it by querying for details about ...
user avatar
2 votes

Using Data Binding in Journey Builder Activities

Ran into a similar issue - the documentation is a bit confusing. We shouldn't include square brackets when using databinding, so your inArguments should look like (assuming JSON): "inArguments": { "...
user avatar
  • 121
2 votes

Is possible to fire a regular trigger throw API?

The error may be due to a variety of reasons; for instance, if your email is invalid or your data-binding isn't valid). When viewing the status page (Admin/Contacts) open the Network tab in Dev Tools ...
user avatar
2 votes
Accepted

Using an Activity context in Journey Builder Data Bindings

The idea behind this feature is that an activity can be placed anywhere in a journey. So, while Interaction-1 may have it first, Interaction-2 may place it further downstream, such as fourth. In ...
user avatar
2 votes
Accepted

Unable to bind with <apex:inputField>

You can use <apex:inputText required="{!reqd}" value="{!form[localFieldName]}" /> as <apex:inputField/> is applicable to SObjects. For more info, refer apex:inputText
user avatar
2 votes
Accepted

Passing Filter Criteria from a Trigger to a Custom Activity in ExactTarget Journey Builder

You can use Data-Binding to achieve this. Data-binding allows your custom activity to interact with your data via the context of either the Contact, the Interaction, or the Event How to Use Data-...
user avatar
2 votes

Databinding not propagating up to parent component

So after some additional tests, it appears it is not possible to bind attributes in an iterable (v42.0). Meaning {!item} is the same as {#item}. However, you can still pass in attributes from outside ...
user avatar
2 votes

How to use Journey DE data in Custom Activity?

In order to find your event definition key inspect journey payload using dev tools of your browser (network tab): Once you have eventDefinitionKey (in my example: DEAudience-3ab446ce-0427-deea-6871-...
user avatar
2 votes
Accepted

Data binding between 2 custom objects

According to the below article, easy way to bind all child records when we use a standard controller is {!Account.Contacts} - {!Parent.PluralAPIName of Child} This is an incorrect reading of the ...
user avatar
  • 87.4k
2 votes
Accepted

Get Version of Journey Builder in Custom Activity

You can include the data binding key {{Context.VersionNumber}} as an inArgument.
user avatar
  • 15.8k
2 votes

How to Databind with JSON response from off of the salesforce platform?

Instead of deserializing the JSON on apex class, pass the JSON to javascript controller and parse the json into javascript object. Also javascript will process the json much faster than apex and you ...
user avatar
2 votes
Accepted

Control binding for aura attribute being passed from parent to child

Don't bind the value, but assign it when you want to update the child object: <lightning:input aura:id="objectdetail" label="Object" placeholder="enter the object..."/&...
user avatar
  • 439k
1 vote
Accepted

JB Custom Activity - Data Binding

Journey Builder processes records destined for your application on a row by row basis. You get one execute request per contact.
user avatar
  • 7,766
1 vote
Accepted

Data binding on input element not working with wrapper class

The issue is that you have used two forms. Combine your command button in the same form and it should work fine. Command buttons takes form as the context, if the form does not have any reference it ...
user avatar
1 vote
Accepted

Binding array nested in a map to a lightning input component not working as expected

That's a limitation of how two-way binding works. It's one of a class of bugs which was eliminated in LWC by removing the ability to use two-way binding. Instead, you need to be able to have a ...
user avatar
  • 439k
1 vote

How to pass the non-default parameter from Journey to call the custom Activity

Once you have schema, extract fields and update inArguments property. Please check following example how to update custom activity configuration to support dynamic binding. // Save arguments and ...
user avatar
1 vote

State management/data binding with LWC with many related records

While It is logical to use Option #4, I actually had implemented sort of Option 3 for my use case: I had a huge form with multiple pages working with custom metadata for conditional rendering and ...
user avatar
1 vote
Accepted

Bound data binding does not work with list items

It would seem that your ParentAppWithListAttrController.js should be using v.JustAList and v.JustAnItem where v.JustAnItem is located in the position in v.JustAList where the Event occurred. The old ...
user avatar
  • 40.5k
1 vote

Updating parent component record name from child sub-component edit via event

You didn't actually save the record. As an aside, all this work you've done is basically pointless, because two-way binding works automatically; when docName is updated in the child, the simpleRecord....
user avatar
  • 439k
1 vote

Using variables in SAQL

You should be able to achieve the required output using single SAQL. The below SAQL code should help you, where I have selected both the columns first and in the next line, the calculated value is ...
user avatar
  • 2,619
1 vote
Accepted

How to use one-time binding with callback response in Lightning?

You can't use a callback handler to update an unbound variable, because the other elements won't realize that anything's happened. The same article you quoted states: Don’t use a component’s init ...
user avatar
  • 439k

Only top scored, non community-wiki answers of a minimum length are eligible