AnsweredAssumed Answered

How do I set a dynamic document property that persists across branches?

Question asked by PatrickBrilino6911 on Aug 22, 2013
Latest reply on Aug 22, 2013 by PatrickBrilino6911
Maybe I'm going about this wrong, but I'm  trying to accomplish the following:
  1.           Retrieve Salesforce Accounts
  2.           Lookup SF account by querying NetSuite customer
  3.           If no Account ID is found, create new customer
  4.           If Account ID is found, update SF Account object with NetSuite customer internal ID
I have two branches in the proces - number 1 queries for a NetSuite customer and the number 2 branch executes based on a dynamic process property that I set if an existing customer is found.  My challenge is that I need to carry the NetSuite internal ID of the found NS Customer through to the second branch so I can update the SF account with this internal ID.  


From what I can tell, dynamic document properties don't persist between branches, so I can't use those because I'm setting the NS ID property in branch 1 but I need it in branch 2 to update the SF Account.  That leaves dynamic process properties, but these seem to persist accross documents, so I end up setting multiple SF Accounts with the same NetSuite internal ID.  Is there a better way to do this?