Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,6 @@ private ZeebeVariables() {}
public static final String CURRENCY = "currency";

public static final String AUTHORIZATION_RESPONSE = "authorizationResponse";

public static final String PAYEE_PARTY_RESPONSE = "payeePartyResponse";
public static final String PAYEE_DFSP_ID = "payeeDFSPID";
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import static org.mifos.processor.bulk.zeebe.ZeebeVariables.CHANNEL_REQUEST;
import static org.mifos.processor.bulk.zeebe.ZeebeVariables.ORIGIN_CHANNEL_REQUEST;
import static org.mifos.processor.bulk.zeebe.ZeebeVariables.PARTY_LOOKUP_FSP_ID;
import static org.mifos.processor.bulk.zeebe.ZeebeVariables.PAYEE_DFSP_ID;
import static org.mifos.processor.bulk.zeebe.worker.Worker.ACCOUNT_LOOKUP_CALLBACK;

import com.fasterxml.jackson.databind.ObjectMapper;
Expand Down Expand Up @@ -42,6 +43,7 @@ public void setup() {
Party payee = new Party(partyIdInfo);
transactionChannelRequestDTO.setPayee(payee);
existingVariables.put(CHANNEL_REQUEST, objectMapper.writeValueAsString(transactionChannelRequestDTO));
existingVariables.put(PAYEE_DFSP_ID, payeeFspId);
client.newCompleteCommand(job.getKey()).variables(existingVariables).send().join();
}).name(ACCOUNT_LOOKUP_CALLBACK.getValue()).open();
}
Expand Down