I have copied a process and have created new forms to use. Along with this I have went through the and selected the new forms, I thought i have changed all of the references to the old forms. When I try to delete my old forms, I am getting an error that the form is being in this process and can not be deleted. Is there a way to show where a form is being used in the process?
Question
Question
How to determine where a form is being used in a process
Replies
Hi Angela,
The front end does not show where a form is being used. You can use SQL query on Forms database to get the info:
SELECT bsf.[form_id], bs.[step_id], bs.[name] FROM [dbo].[cf_bp_step_form_mapping] AS bsf INNER JOIN [cf_bp_steps] AS bs ON bsf.process_id = bs.process_id AND bsf.step_id = bs.step_id WHERE form_id = your_form_id
If you are using Forms 10.2/10.2.1, there is a known bug which may affect you:
If there is a Save to Repository service task with option "save the submitted form from this process step" for step A, after the form used in step A is changed, the old form used in step A would still be considered as referenced which is incorrect.
The workaround is to change the option for save to repository to "save a form with current process data", then save on process canvas, then change the option back to "save the submitted form from this step" and choose the correct step and save.
This issue has been fixed in Forms 10.3, as https://support.laserfiche.com/kb/1013903/list-of-changes-for-laserfiche-forms-10-3