ddoddsr
Forum Replies Created
-
Forum: Plugins
In reply to: [Action Scheduler] How do I notify to Action that my process is complete?I have process that starts a scheduled item for an off-hours process I’ll call build-it-1.
Build-it-1 runs and schedules build-it-2 which schedules build-it-3 & etcI know that the process build-it-1 has run because the last thing it does is schedule build-it-2 but the status stays as in-progress.
I think I needed to return a true instead of just wp_die().
Forum: Plugins
In reply to: [Action Scheduler] How do I notify to Action that my process is complete?Sorry for the delay,
The question here is how to make the Action Scheduler screen reflect that a process has failed or is complete or still running.
I see those status but in the callbacks I run but don’t see how that status is set.thanks
Forum: Plugins
In reply to: [Object Sync for Salesforce] guide for connection salesforce new versionObject mapping takes effect when add/updating/deleting records, depending on the settings in the Object Map
Suggest you first make the connection and test out simple maps.
Syncing existing records, users or other, takes a more work than installing and connecting. It is not a part of the plugin but it can be done.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Direct API calls from code@chercka That does make sense in those cases where you would not otherwise include this (excellent) plugin.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Direct API calls from code@chercka. Did you ever get your foot into the door?
I’d love to be able to just pass JSON to the API which would let me proceed with Salesforce’s own REST API documentation. If I can just get my foot in the door….I use the query() also because it is very handy.
This sounds like a tidy way to build additional functionality.
DanIn a sandbox with 10,000 records I updated them all with data loader
I set the pull to 15 minutesAnd with 32 records Throttled to 60 seconds..
the number of pending jumps up 25 pending pulls every time the pull check runs.
not sure why the math works like it does but it won’t overwhelm the systemWould the Throttle and Pull limit help to spread it out in action scheduler queue?
Forum: Plugins
In reply to: [Object Sync for Salesforce] Error: 404: on Salesforce HTTP requestThis plugin is a solid performer and works as advertised. Recently we used it to sync 130,000 users to Contacts and several custom post type for events and registrations. It keeps on working.
Jonathan is providing sound advice regarding making sure the plugin works with your WordPress environment before importing and syncing production. If you have access to a copy of your WP site for test and a Salesforce sandbox it works best.
Syncing past user data to leads/contacts is a common task for onboarding a new WordPress / Salesforce. This should happen after all data is mapped and tested on test/sandbox.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Where is the log?!If you have enabled logging and set it to log something like error, Logs it will appear in the WordPress Menu, just under Pages for ours.
Forum: Plugins
In reply to: [Object Sync for Salesforce] user and usermetaI agree, however it was you and another user of object sync for salesforce, a developer that seemed to be making headway.
I read that thread and thought, I’ll need that someday but, my bad, did not bookmark it.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Postmeta updated by other actionsMaybe I’ll just fire :
do_action( "save_post_my_CPT", $post_ID, $post, true )
thanks for verifying.
I understand the callback url now, thought it was a webhook that salesforce needed to access.
Because this is a scratch org and not a sandbox I needed to do one more step. When using the login url on the scratch org Salesforce was not authorizing and issued error: Error 400: grant type not supported
Looking at https://github.com/MinnPost/object-sync-for-salesforce/issues/145 gave me the clue.
So I went to My Domain in company settings and copied that domain name to use as login url:
Your domain name is customer-happy-0000.cs4.my.salesforce.com . It worked.
thanksWhen I looked at Valet again today, I wondered how it provided a link, and found that it uses ngrok.
SO I was wondering what output you got with “valet share”, or if you could see the command line.my ngrok command line is: ngrok http localtestdomain.test:443 -host-header=rewrite
I did not have permissions correct in SF .
I got that fixed by adding “Access and manage your data (api)” and retried.When I “Connect to Salesforce” it gave me the SF screen asking if I want to authenticate the app.
Then asked me to login to WP again and after login was returned to the Authorize page with the message:
Error 400: grant type not supportedIdeas?
Dan