vanderbilt-redcap / auto-dags-module

REDCap External Module that automatically creates, renames, and assigns records to DAGs based on a specified field.
MIT License
5 stars 7 forks source link

Option to restrict assignment to instrument containing DAG field #11

Closed jangari closed 2 years ago

jangari commented 2 years ago

As per this request, this PR adds a config option to restrict Auto DAGs to firing only when the instrument being saved is the instrument containing the Auto DAG field.

This allows a user to manually reassign a record to a new DAG and not have it automatically reassigned back to the DAG created by the Auto DAG field if the record is updated elsewhere.

mmcev106 commented 2 years ago

Merged. Will release a new version shortly. Thanks very much @jangari!