Skip to content

Commit

Permalink
Merge pull request #1459 from StreckerCM/ConvertDateToDatetimeFlowAct…
Browse files Browse the repository at this point in the history
…ion1.1

Update ConvertDateToDatetimeFlowAction.cls
  • Loading branch information
ericrsmith35 authored Sep 21, 2023
2 parents a8efc06 + c647cd7 commit 3e107ef
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ public with sharing class ConvertDateToDatetimeFlowAction {
@InvocableMethod
public static List<Results> convertDateToDatetime(List<Requests> requestList) {

// Prepare the response to send back to the Flow
Results response = new Results();
// Prepare the responseWrapper to send back to the Flow
List<Results> responseWrapper = new List<Results>();

// Bulkify proccessing of multiple requests
for (Requests req : requestList) {

// Initalize the response for this loop
Results response = new Results();

// Get Input Value(s)
Date dateValue = req.dateValue;
Expand Down

0 comments on commit 3e107ef

Please sign in to comment.