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

Question

Question

Receiving Error "getemailofrecipient"

asked on May 12, 2020 Show version history

Hello Everyone,

 

I have a process in Laserfiche Forms 10.4.2 that should send an email to the participant after the start of the form being submitted to Laserfiche.  However, the email task is suspended.  In Event Viewer, the following error is listed:

 

The value of variable "Laserfiche.Forms.Api.DataContract.RoutingParticipant" is not set. The email address cannot be found without it.
Function: GetEmailOfRecipientList

NOTE:  FROM Email address modified to block company.

Any idea as to what's happening?

 

Thank you!

 

Kim

0 0

Answer

SELECTED ANSWER
replied on May 12, 2020

In step 1, you have the user fill out an initial form, then in step 3, the process emails the department head. 

My initial question was, in your email service task directly after the message start event, the configuration says to email the /_Dept_head_email. Is that value set on the starting form? The initial form would have to specify the dept head email for this to work. 

Second question: Do you need that email service task at all? If the user task directly after that is assigned to the same department head, you can just configure the user task to email the person letting them know a task was assigned to them. You don't need an email service task followed by a user task. 

1 0

Replies

replied on May 12, 2020

Are you sure you are setting this variable in the initial starting form? 

0 0
replied on May 12, 2020

Hi Jared, it is the task that should begin once the Form is submitted.  The way we have it is:

  1. A person goes to http://company/forms-schedules/ (or some other website) and completes the “New Hire or Recruitment Authorization Form” submission
  2. The “New Hire or Recruitment Authorization Form” submission form is processed by Laserfiche
  3. Laserfiche notifies the “Department Head” via email that a new form has been submitted for approve/deny
  4. The “Department Head” either “Approves” or “Denies” the “New Hire or Recruitment Authorization Form” submission
    1. If Approved, Laserfiche notifies “Dean/VC” via email
    2. If Denied, process ends.  Email sent to “Requestor” with Form Denied by “Department Head”
  5. Laserfiche notifies “Dean/VC” via email that a form has been sent for approve/deny
  6. The “Dean/VC” either “Approves” or “Denies” the “New Hire or Recruitment Authorization Form”
    1. If Approved, Laserfiche sends email to “CHR” via “Laserfi.enx104…”  and moves form to “BOX” 
    2. If Denied, process ends.  Email sent to “Department Head” and “Requestor” with Form Denied by “Dean/VC” 
  7. Process Ends
0 0
SELECTED ANSWER
replied on May 12, 2020

In step 1, you have the user fill out an initial form, then in step 3, the process emails the department head. 

My initial question was, in your email service task directly after the message start event, the configuration says to email the /_Dept_head_email. Is that value set on the starting form? The initial form would have to specify the dept head email for this to work. 

Second question: Do you need that email service task at all? If the user task directly after that is assigned to the same department head, you can just configure the user task to email the person letting them know a task was assigned to them. You don't need an email service task followed by a user task. 

1 0
replied on May 13, 2020

Hi Jared, I removed the email tasks and it worked.  Thank you for your assistance.

0 0
replied on May 13, 2020

I think the problem was that you were using a variable for dept_head_email that wasn't set yet. Your process could have worked as it was designed, but I think your new design is better/what you want. 

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

Sign in to reply to this post.