Why does the first attempt to deploy triggers in Salesforce always time out, the second one succeeds, but fails to activate upon testing and where can I view triggers for external users in the dashboard?

Obviously ChatGPT but yeah

Possibly, I have thought this was the issue in the past but no one could confirm

Or actually what I thought was that the code needed to be deployed to sandbox first then moved to production somehow (from what I remember)

But again, I’m not a Salesforce expert (nor have used it in the past except for this unsuccessful debugging)

no, unfortunately that’s not it again :disappointed: tried switching the PD env, no success

Bummer

hi guys, returning to this. As far as I understand, PD is trying to deploy something (an apex class?) to SF. One of the SF guys from my company asked me a very logic question “do you know what it’s trying to deploy?” to which i have no answer, and i can’t find anything that resembles apex code in the pipedream repo. Am I looking in a wrong place? Is there a way to see what PD is trying to deploy into SF?

Yeah exactly, the Apex code being deployed can be found in this repo: GitHub - jverce/salesforce-webhooks: Provides an interface to create webhooks in Salesforce for different SObject events

that’s fantastic, thank you!

so this

looks like the problem that i’m seeing

and the latest reply is basically “the instant triggers don’t really work, but polling does” which is also consistent with what i’m seeing

Maybe we should try the fix since it isn’t working anyway yeah

would be hugely appreciated, i’m being pushed around by “polling doesn’t demo well, can you maybe do it every 30 seconds??” which i really don’t want to do

can you approve this please: [BUG] Fixed error as reported in Pipedream repo by jcortes · Pull Request #19 · jverce/salesforce-webhooks · GitHub

I mean merge

Will this fix work for non-string fields? item.{{this}} could be of any time, which would cause deployment issues if at least one of the fields does not accept a value like [default@example.com](mailto:default@example.com)