Skip to main content
Question

How to copy attribute based on related columns

  • May 9, 2020
  • 2 replies
  • 16 views

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
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3700 replies
  • May 9, 2020

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.


  • Author
  • 11 replies
  • May 9, 2020

Worked perfectly, thank you