Skip to main content
Question

How to copy attribute based on related columns


Hello,

I have created a workspace to download attachments from Survey123 for ArcGIS which works perfectly, apart from one thing. Some of the attachments are stored in related tables and as a result don't pull have the sample ID field included and this is causing issues further down the workflow.

I need to create a workflow that compares the parent ID field against the whole globalID column. If it finds a match, then it copies the sample ID field to the appropriate line and replaces the NULL field.

Does anyone know how to do this?

GlobalIDParentIDSampleID1234NULLSamp 14564NULLSamp 2548441234NULL54564844564NULL45848545NULLNULL

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

Split off the records with a null value for SampleID (TestFilter) and then use a FeatureMerger or FeatureJoiner to join them back to the other records.


Worked perfectly, thank you


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings