Error: Cannot retrieve attribute.

387
2
10-04-2023 10:24 AM
AmyRoust
Occasional Contributor III

I have a step in a task that uses Calculate Field to change the value of one field in one record of a table in a file geodatabase. After it calculates, I want to copy that value from the table and assign it to a variable to use in a future step. However, when I set up an action under "When exiting the step" to Copy attributes from Feature or record modified in this step, I get the error message: "Error: Cannot retrieve attribute. Unable to retrieve selection modifiedInStep." Can anyone help me fix this?

0 Kudos
2 Replies
MichaelVolz
Esteemed Contributor

Have you consulted ESRI tech support with this issue to see if it might be a bug with tasks?

0 Kudos
AmyRoust
Occasional Contributor III

Not yet. I'm brand new to tasks, so I thought I'd ask around first to make sure that I wasn't making a rookie mistake. I'll probably call tomorrow if I don't get any ideas here. Thank you!

0 Kudos