Automatical adding of forms to the Start-Action
If in todo4teams a new todo is generated for a group, the Start-Action of this group is executed on the server. It may be convenient to force a group to use a certain form during the processing of the todo. One possibility is i.e. to add a form to the start-script of this group. It is feasible to add different forms, but they have to be of the same typus.
This can be i.e. necessary during the ordering process for spare parts, one form for each part.
// Das Formular mit der ID 78 anhängen
helper.addMetaData(78);
// Ein zweites Formular mit der ID 78 anhängen
helper.addMetaData(78);
helper.addMetaData(78);
// Ein zweites Formular mit der ID 78 anhängen
helper.addMetaData(78);