Servicely Configuration
Record Generation
5 min
the record generator functionality provides the ability to generate a sequential group of records that are related to a parent record based on a condition this can be used to set up specific work records that when completed will trigger other work record(s) to be created, whilst populating a parent’s field upon completion whilst the record generator is associated to a record, the generated records are generated from the details set up in the associated record templates it should be noted that only one record generator can be running against a record at once record generator true 519,519,519,520 unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type record templates true 519,519,519,520 unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type how record generators operate when record generators have been set up for a table, there is a specific run process in terms of how it runs this section details what occurs and what steps take place to generate the associated records when a record has been updated, it will first determine if the record generator field has been populated if it hasn’t, it will check if there are any active record generators associated with the table that the record is updated that meet both the condition and advanced condition if there is one (or multiple), it will pick the one with the lowest priority order and populate the record generator field for that record once done and there is an on execution script on the associated record generator, the on execution script will run against the record that started the record generator if it is the first time that the record generator is running against that associated record, it will generate a record for every associated active record template that has no “wait for” record template populated for each record template that is being generated, the short description, assignment group, related field and the record template field will be populated on the generated record in addition to this, the on creation script on the record template will be run on the associated record it generates once the required record templates have been run, the record generator will not run, until a record generated from a record template has been closed once a record from a record template has been closed, it will populate the “field to update on completion” with the returned content from the “content of completion update” field on the record template that generated this record when this has been done, it will determine if there are any record templates that were waiting on this record to be completed, then begin those this process continues until all record’s have been closed it should be noted that once a record generator has been associated to a record, no others will