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

Question

Question

Invoke Forms Process

asked on May 3, 2016

Sorry, but I am confused as to why our Invoke Business Process activity is not working.  Basically, if a user on a Form checks a box, we want to Invoke another Forms Process.  This process just contains one form and is just a "summary" page that displays information.  There is nothing else going on with it. 

However, we cannot seem to assign the task.  How do we go about assigning the Process to a certain person?  In this case it is just the initiator but it is the initiator from the previous Form.  It seems that it should be fairly easy to assign the task to a specific person.

Shot of the workflow that starts the process:

Find User returns True.  We are taking the initiator of the Form and then finding that person so we can assign it to them in the Invoke.  It seems that the Process Initiator of the Invoke Business Process should be who you want to assign it to.

Error in Forms

This is all the Summary process is.

For the assign we have tried the Initiator but that does not work.  Also instead of a start even we have tried the Message Starting Event and that gives the same error. 

We are looking to be able to call this Summary forms process from a workflow.  Whoever started that workflow (initiated from a form) will get the Task for the summary.

Any ideas?

Thanks,

Chris

1 0

Answer

SELECTED ANSWER
replied on May 4, 2016

A support case was opened for this matter. In our testing, we couldn't recreate the issue. Chris confirmed that after downloading and re-uploading the VATS-Summary business process, the user task assignment now appears correctly as the variable /username instead of /Username and in his testing, things are working now.

0 0

Replies

replied on May 3, 2016

Is there an error in the Forms event log at the time the task got suspended?

0 0
replied on May 3, 2016

Two error's it seems:

No task participants named '' can be found.

Function: BindActualApproversToResumeByName

and

Nobody is assigned to the user task: Application Summary. This error may occur if a user task is assigned using a variable that does not contain a valid user name. [LFF5413-NoActualParticipantsAssignedForTask]

Details:

URL:

Error: NoActualParticipantsAssignedForTask

Date: 5/3/2016 11:29:39 AM (Central Standard Time)

HTTP Status Code: 500

Business Process ID: 59

Instance ID: 1021

Business Process Name: VATS-Summary

Stack Trace:

Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException

Message: Nobody is assigned to the user task: Application Summary. This error may occur if a user task is assigned using a variable that does not contain a valid user name. [LFF5413-NoActualParticipantsAssignedForTask]

 

This is with \initiator in the Task assignments.  I do not see a away to assign the task of that Form to "The Find User from the Invoke".

 

 

0 0
replied on May 3, 2016

This looks like a bug in Forms. I filed it to our bug tracker. If you add a field to your form for the user name, have WF pass in the value and use that variable in the User Task in Forms, the task won't suspend anymore. Keep in mind that if you're using domain users, AD will return the account ID without the domain name included, while Forms expects it to contain the domain name. So you'd have to have Workflow pass it in as domain\%(FindUser_Account Name)

0 0
replied on May 3, 2016 Show version history

Ok, thank you for testing/filing the bug.  However still seem to have the same error.  Created a field on the summary form just called username.  Assigned it to the task:

Passing the variable:

Account name:

Since we never get the task I cant actually see what is in the username field but seem to have the same issue.  Error in the Log:

The value of the variable "/Username" is not set. The user assigned in the user task named "Application Summary" cannot be found without it.

Function: CreateNewRoutingInstanceToTrigger

and

Nobody is assigned to the user task: Application Summary. This error may occur if a user task is assigned using a variable that does not contain a valid user name. [LFF5413-NoActualParticipantsAssignedForTask]

 

Edit**

I hardcoded my username into the Task assignment so I could get the task.  I did indeed get the task and the username field shows what it should I believe:

 

 

 

 

0 0
replied on May 3, 2016

Hm, that's ...interesting. Your activity still seems to think that's a user, not a variable (based on the icon next to it).

Could you send that process to Tech Support, please?

0 0
replied on May 4, 2016

Sure, I will open a case.  Thank you Miruna.

0 0
SELECTED ANSWER
replied on May 4, 2016

A support case was opened for this matter. In our testing, we couldn't recreate the issue. Chris confirmed that after downloading and re-uploading the VATS-Summary business process, the user task assignment now appears correctly as the variable /username instead of /Username and in his testing, things are working now.

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

Sign in to reply to this post.