AnsweredAssumed Answered

Calculation value gets set to null after adding repeat

Question asked by roemhildtg on Sep 7, 2018
Latest reply on Sep 14, 2018 by roemhildtg

I have a survey that gets populated one of two ways 

 - By opening a link from collector that has the GlobalIDWithBraces={global-id-value}

 - By opening an assignment in workforce where the workforce app passes GlobalID directly

 

I have my some hidden fields to handle these cases. First, ProjectGlobalID is set to calculate its value from this:

 

${ProjectGlobalIDWithBraces}

 

When collector is used, the survey works. But when workforce is used, the value of ProjectGlobalID is initially set correctly, but after adding a related record from a repeat, the ProjectGlobalID gets reset to null. 

 

Anyone have a good idea how to handle these two cases?

Outcomes