You are viewing limited content. For full access, please sign in.

Question

Question

Searching repository for a form

asked on September 28, 2019

I have a couple of very old forms that were setup by the company when our department purchased the product long before I became involved. These forms invoke workflows that really do simple things which I can eliminate most of the bloat but they both search the repository for the form that invoked them and that is causing one of the many errors. I'm sure this is a simple question but I only use rules to start workflows and not real familiar with this method. All I need to do is find the form to email it now but the search fails here is the code in the search for one that involves a user task

{[]:[Instance Number]="%(BP Instance ID)", [DS Decision]="%(Submission Action)"} & {LF:LOOKIN="SLLBOCES\BOCES\Vacancy Position Notices\Pending Submissions"}

 

It fails with token not found I believe originally there was a token value somebody has deleted. The second search has this code

{[]:[Instance Number]="%(RetrieveBusinessProcessVariables_InstanceID_NH)"} & {LF:LOOKIN="SLLBOCES\BOCES\Vacancy Position Notices"}

 

If somebody could explain what code I need in the search repository to find the associated forms I would appreciate it. Normally I would do some testing but these are critical forms used daily by administrators and want them working yesterday. Thanks for any help 

 

 

 

0 0

Answer

SELECTED ANSWER
replied on September 30, 2019

Thanks for replying, I had support today from the vendor and after awhile we figured it out. Long story short is they were capturing the form instance ID into the field Instance number why I don't know typically you would just use Instance ID in the search but an admin has admitted to deleting it from the admin console thinking it was old and not used anymore this happened to be the only one that did. Replaced it with Instance ID and all is working.

1 0

Replies

replied on September 30, 2019

It's difficult to know what's wrong with your search without being able to test your search in your system.

I would recommend going to Client, and doing a search, with "Search Syntax" enabled, along with all the other search criteria you need (looks like maybe you are using the "Field" and "Within Folder" searches).

Once you get the search working how you want it to in the client, you can copy that from the "Search Syntax" field and paste it into your Workflow, replacing the hard-coded search values with tokens.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.