stable

Clone or download

Read-only

Improve factory engine with the ability to add attributes with traits

Part of story #12187 configure workflow pre & post actions at target state level This way, we can now customize attibutes when using traits: create('workflow', 'active', { field_id: 3 }) Which will return a new active workflow with field_id = 3. Change-Id: Iea514f21a27422c51a8aec814d72dddb93cbb122

Modified Files

Name
M plugins/tracker/www/scripts/workflow-transitions/src/support/factories.js +20 −14 Go to diff View file