• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

Parameter Not Passed From One Step To Another

My workflow has a Shopify "Find Customer" step that is correctly finding the "Accepts Marketing" parameter. But in the next step to "Update Customer" that field sometimes does not come through. Any idea why that might be happening? Here's an example with screenshots.
 

Attachments

  • step1.jpg
    step1.jpg
    37 KB · Views: 57
  • step2.jpg
    step2.jpg
    39.7 KB · Views: 56
P

Pabblymember11

Guest
Hey @iRestAdmin

In response to your inquiry, we have incorporated a Lookup action step into the workflow. We suggest that you conduct a test of the workflow and inform us of the results.

 
Unfortunately, the lookup had one failure too. It's this run:
Task History ID - IjU3NjIwNTZkMDYzZjA0MzU1MjZlNTUzMDUxM2I1MTY2NTQzNSI_3D_pc
Executed at Nov 07, 2023 04:22:03, (UTC-08:00) America/Los_Angeles
 
P

Pabblymember11

Guest
Can you please try again, we have made a small change in the Lookup action step.
 
I tried sending a test response but, unfortunately, it failed. For some reason the parameter is still disappearing. This time is seems to have disappeared in the lookup itself. You can see in the screenshot that the lookup shows the parameter is 1, but the result is blank.
 

Attachments

  • 1lookup.jpg
    1lookup.jpg
    41.4 KB · Views: 46
P

Pabblymember11

Guest
Please refer to the following screenshot once and try the same in your workflow.

1699515020383.png
 
Hi Supreme,

Unfortunately, I tried in the workflow and got the same result as in your screen shot: failed. If it had worked it would show "true" for the result label and value. Right?
 
P

Pabblymember11

Guest
Unfortunately, I tried in the workflow and got the same result as in your screen shot: failed. If it had worked it would show "true" for the result label and value. Right?
Based on yesterday's historical log, it appears that your workflow wasn't fully executed, although indications suggest that it did function.

If you attempted a task in a different workflow, kindly provide the latest task history ID.

1699596754955.png
 
Yesterday I tested the workflow with "Save and Send Test Request" and as you can see from the screen shot I posted previously, it failed. There must be something about the received record that is coming through differently from time to time, because many of them have succeeded. Today I looked at the ones that failed and they all seem to have "Customer 0 Accepts Marketing: False". Could that be the issue? Maybe only the ones marked as True are getting through (I'm not sure how to filter for that)?

You can review those here: https://connect.pabbly.com/task/his...d=IjU3NjUwNTZlMDYzMjA0MzY1MjZmNTUzMDUxMzMi_pc

You noticed that: "your workflow wasn't fully executed, although indications suggest that it did function." That's correct. This is because of a separate issue with this same workflow that I was able to deal with on my own. I only want this workflow to run when the "Level 1 Teacher" field in Salesforce changes. So the trigger I chose for the Pabbly workflow was "Updated field on Record". Unfortunately, it's still triggering whenever the record is updated, regardless of whether the field changed or not. I've since added a date field to the record that only updates when that field changes. And the workflow now checks to make sure that date matches todays date, otherwise it stops. That's an acceptable workaround in this case, but it means the flow will not run to completion very often. The "Level 1 Teacher" field doesn't change often.

So it will be hard to get data on the issue we're talking about in this thread, where the data in the field disappears between the Find Customer Step and the Update Customer step. I actually don't need to update the "Customer Accepts Marketing" field in this last step, but when I try to leave the field empty the test errors out and says the field is required. If you can't find a way to make sure the data doesn't disappear, finding a way to not have that field filled in would work too.
 
P

Pabblymember11

Guest
In configuring your Shopify account, the "Accepts Marketing?" field was set to mandatory. However, when it received a false response, it caused complications in the subsequent action step, resulting in the field being converted to a blank response. Consequently, the Shopify: Update Customer action step failed.

To address this issue, we have introduced a new action step titled "Number Formatter by Pabbly: Spreadsheet Formulas." This step offers true and false options for your fields based on the responses received from Shopify's Find Customer action step.

Please test this solution and inform us of its effectiveness.

2023-11-11_12h47_00.png
 
Perfect, Supreme. That looks like it works in the flow. I have a few new L1's that should be updating in an hour or so, hopefully some of them will have a false for accepts marketing so we can get a good test.
 
Top