Skip to main content
Mitratech Success Center

Client Support Center

Need help? Click a product group below to select your application and get access to knowledge articles, webinars, training content, and release notes or to contact our support team.

Authorized users - log in to create a ticket, view tickets status and check your success plan details.

 

Initiator Lookup Functionality

This functionality allows a FormMR to be pre-populated by selecting a value in the Initiator field based on a lookup list, and then use auto-scheduling to create future records.

Initiator Lookup Functionality

Elements required:

1. A Lookup list file is required to associate site names with FormMR and to prepopulate any fields with default values.

2. If a mass import of data is required, an import file is required to create the records using the Import SMARTForm function.

Lookup list file structure:

3. The lookup file must meet the following criteria:

a.      Column A Heading: Initiator (Site Name).

b.      Column B Heading: FormMR. FormMR list must match what is set up in the employee list.

c.      Column C onwards: These can be fields in the form that need to be pre-populated when a new record is created. Field headings must be formatted as “sectionID_fieldID”.

d.      A frequency field must be created to be used in Auto-scheduling. The syntax should match the examples in col G below: “FrequencyLabel |FrequencyNumber”, ie “Monthly |30”. Note that there is NO SPACE between the pipe character | and the number. It must match the system field:

clipboard_eda473d85fea6eee17404ac695672c07e.png

e. The file must be saved as a .csv. E.g:

clipboard_e1d94b0ffcd860d0b7e2151a11e4766d3.png

Template Configuration:

4. The initial configuration takes place in the template and Workflow Wizard.

5. On the template, activate “Scheduling”:

clipboard_e2422e1c1fa303cde756981d998ff5fa1.png

6. Access the workflow wizard and update the [Select Form Mgt Rep from] field by selecting “Look-up Table”:

clipboard_e9238c6dcbaecf8c9d8d137a4381961f5.png

7. Once the value is selected, a new option will appear underneath to attach the lookup list .csv file

clipboard_ed8bac93d8db07fbed9aaefade685ceb2.png

8. After the file is attached, a prompt will request that the workflow be saved. At this stage the attached file will not be visible. Select [OK] on the menu to save the workflow:

clipboard_efabd3b468ebea8b16c7c7a1cedbfe8c2.png

9. The file will now be visible and there is a [Remove] option if the file needs to be updated with new content:

clipboard_ebc43ead05bc6f7c9fc83be676c6708d7.png

10. Set up the Auto-scheduling fields as required, ie Freq Field (see above) will update system Due For Completion date:

clipboard_e0df7216ca52cf079fef52a13af2094c6.png

11. Update the rest of the workflow, including adding a command button to manage scheduling:

clipboard_e8664d7fcd0761dad018d1083587f55a1.png

12. Save the workflow and the template.

13. The lookup file can take up to 10 minutes to be processed by the server, so will not be available for use in the initiator field immediately. This includes changes and updates to the file, for example when a new site is added, or when a different FormMR is assigned.

Updating the lookup file:

14. Default FormMR values in the lookup file can be changed based on business needs.

15. Edit the workflow, and select the [Remove] command next to the current upload field:

clipboard_ed21261cbc72c3d4505951e161e5f3776.png

16. The interface will reset, and you will be able to upload the new attachment .csv with the new FormMR: 

clipboard_e3185a9c4a665e78ff93d75e47266ff61.png

17. Follow the steps outlined above by saving the workflow and template.

18. For historical open/scheduled records to be updated, please allow at least 1 hour. This may become longer as more records are added.

 

Example: New Record with Lookup Functionality

19. Once configured, open a blank record; workflow status will be Draft:

clipboard_e564ff8ccfc766fd59bb7b0b1f9baffb7.png

20. In the initiator field – renamed as “Site” – enter the site name required. If whole words match, the list will show the options:

clipboard_e02cdb025e9efceeb73cd6c1db1df1838.png

21. Select the appropriate site. The FormMR will prepopulate and any default values from the lookup file will be entered. Note the Frequency field which is required for auto-scheduling new records:

clipboard_ee02fd96930bb21c34c0fc73cf56e72c8.png

22. Update the form as required, including assigning a due date, and submit it into the workflow.

23. The new record will now be in Open workflow status.

clipboard_ee6e19f97133502dfa60f3b5c65aaa2c4.png

24. At the appropriate time, edit the record and “Complete & Schedule” to close the current record and create a new record with a new due date based on the frequency field.

clipboard_ee6bf84c6cce0f0d2b6e888461c15d1da.png

25. A message will confirm the status of the process:

clipboard_e664bca80a5f41c2fbba70dfe87baaea8.png

26. In the data view, the first record will be in “Complete” status, and the new scheduled record will be “Open”. The “Due for Completion” field will reflect the schedule in the lookup table:

clipboard_e52fea9cce144e2e7178932053809012a.png

27. If the scheduled record is opened, edit is selected and changes are made, and then saved, the status will change from “Scheduled” to “Open”. If the record is only opened, edit is selected, but no changes are made and “Save” is not used, the status will remain “Scheduled”.

Mass import file structure:

28. If a mass data import is required to create multiple records at once, a second lookup file is required to be used by the Import SMARTForm functionality

29. The mass import file must meet the following criteria:

  • Row 1: Field/Template Label.
  • Row 2: Field/Template ID.

a. Column A Heading: must match template ID.

b. Column B Heading: left blank for auto-generated reference numbers.

c. Column C Heading: left blank if not associated with parent documents elsewhere.

d. Column D Heading: must match template title.

e. Column E Heading: workflow status (ie are the records imported as open or scheduled)

f.  Column F Heading: Initiator name (site name, must match lookup field above).

g. Column G Heading: FormMR name (must match lookup field above and the employee list)

h. Column H Heading: Due for Completion date

i.  Column I Heading: left blank if FormMR is set to an individual

j.  Column J Heading: custom text for audit trail can be entered here

k. Column K Heading onwards: These can be fields in the form that need to be pre-populated during the import. Field headings must be formatted as “sectionID_fieldID”.

l.  A frequency field must be created to be used in Auto-scheduling. The syntax should match the examples in col M below, ie only the number part of the frequency “30” = Monthly as is set up in the frequency field:

clipboard_e6192a083c1d94a27d8981f88840299c3.png

m. The file must be saved as a .csv

clipboard_ed5fc48587d38a55b3c195510f06dabeb.png

n. The data view needs to have the Import SMARTForm control active:

clipboard_ec6c738722115e58c4c86849b0073f962.png

o. Using the control, select the .csv import file and use the Import menu option. Any issues will be flagged in the log:

clipboard_ebe3cc45c8334226679804e4b53f6e50f.png

  • Was this article helpful?