Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] salesforce triggered journeys cannot be published after deploy #1570

Closed
1 of 2 tasks
JoernBerkefeld opened this issue Aug 13, 2024 · 1 comment · Fixed by #1604
Closed
1 of 2 tasks

[BUG] salesforce triggered journeys cannot be published after deploy #1570

JoernBerkefeld opened this issue Aug 13, 2024 · 1 comment · Fixed by #1604
Labels
bug Something isn't working c/journey COMPONENT PRIORITY used for professional service clients
Milestone

Comments

@JoernBerkefeld
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

something is off in how we deploy things and while the API doesn't block this from happening, it later blocks the deploy.

Expected Behavior

idea:

check if fields are available on connected org.

journeybuilder itself executes this (with different internal endpoints but same / similar results):

  1. {{restEndPoint_v2}}/data/v1/integration/member/salesforce/workflowobjects - that gives us ALL salesforce core objects from the connected org
  2. {{restEndPoint_v2}}/data/v1/integration/member/salesforce/object/{{objectName}}/referenceobjects - that gives us a list of other objects we need to query because they are related using the objectName from eventDefinition.configurationArguments.objectAPIName or journey.triggers[0].configurationArguments.objectAPIName
  3. {{restEndPoint_v2}}/legacy/v1/beta/integration/member/salesforce/object/{{objectName}}/ - this takes [].referenceObjectName from call 2 for as many times as there are relationships found in (2) and gets the full field list. JB does this nicer with a single API call but I cant figure out how to work the published ones for that.

Steps To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Run '...'
  4. See error...

Version

7.1.4

Environment

  • OS:
  • Node:
  • npm:

Participation

  • I am willing to submit a pull request for this issue.

Additional comments

No response

@JoernBerkefeld JoernBerkefeld added bug Something isn't working c/journey COMPONENT PRIORITY used for professional service clients labels Aug 13, 2024
@JoernBerkefeld JoernBerkefeld added this to the 7.1.5 milestone Aug 13, 2024
JoernBerkefeld added a commit that referenced this issue Aug 14, 2024
JoernBerkefeld added a commit that referenced this issue Aug 19, 2024
JoernBerkefeld added a commit that referenced this issue Aug 19, 2024
@JoernBerkefeld JoernBerkefeld modified the milestones: 7.1.5, 7.1.6 Aug 19, 2024
JoernBerkefeld added a commit that referenced this issue Aug 23, 2024
JoernBerkefeld added a commit that referenced this issue Aug 26, 2024
…r using the the proper API"

This reverts commit 3cabe0c.
JoernBerkefeld added a commit that referenced this issue Aug 26, 2024
JoernBerkefeld added a commit that referenced this issue Aug 26, 2024
JoernBerkefeld added a commit that referenced this issue Aug 26, 2024
JoernBerkefeld added a commit that referenced this issue Aug 26, 2024
JoernBerkefeld added a commit that referenced this issue Aug 26, 2024
Copy link

Closed by #1604.

JoernBerkefeld added a commit that referenced this issue Aug 30, 2024
This reverts commit 0e7a251.

html formatting totally ruined ampscript after this change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working c/journey COMPONENT PRIORITY used for professional service clients
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant