Question

Photo of Jim Michael

1

Workflows not sending emails?

I'm not sure when this broke for me, but I'm guessing when we went from 1.2 to 2.0. I can no longer get the "External Inquiry" workflow to send any emails. Using the Contact Us form on the external site or Tools | Workflows | Requests makes no difference. The workflow gets created, but no one gets notified (I verified that a valid worker is assigned). I also verified that the server is NOT actually sending the email and it's just not arriving... nothing leaves the server. Yet sending a normal communication works fine so I know SMTP email is configured correctly. Also, this happens on both of my Rock servers. This is what the workflow looks like... I'm not sure if any of the "test for" steps should show as being processed, but I would think so? It's as if the workflow is simply stopping at the Test for General Inquiry stage.

Is anyone else seeing similar on their 2.0 instances of Rock, or am I just missing something obvious here? I haven't played with the External Inquiry workflow in quite a while but I know it USED to work as expected.

  • Photo of Rock RMS

    1

    Just wanted to clarify this issue a bit. The bug did pop-up with the 2.0 release. In this release the demimitor between the key and the value was changed from a : to a ^. We overlooked changing this in the External Inquiries workflow. A fix has been put into place to correct this for the next release. In the meantime you can correct this in your systems by:

    • Edit the External Inquiry workflow
    • Find the Topic attribute
    • Edit it's values to separate the key and value with a ^ instead of a :
    • Save

    Sorry for the confusion...

  • Photo of Jim Michael

    0

    Ok, I found the issue:

    It looks like the "Topic tests" in this workflow are no longer correct. Highlighted above is the test for a General Inquiry, but when you look at the activities of the generated Workflow the *actual* Topic value being chosen is "General: General Inquiry" "General:General Inquiry" (and the other inquiry types are similarly incorrect), so there is never a match and the workflow doesn't proceed. The instant I changed "General" to "General: General Inquiry" all of my emails came flying in.

    Is there something wrong with my setup (same problem on two different instances of Rock that have nothing in common, so that would be weird) or was this change made to the form and the workflow tests were never updated to match?

  • Photo of Don Smallman

    0

    Jim,

    If that one is "General: General Inquiry", what would the on for "Login Inquiry" be?  I'm not sure whay it is "General: General Inquiry" and not just "General Inquiry".

  • Photo of Jim Michael

    0

    I found the list by editing an actual workflow (not the workflow type) and looking at the Topic drop-down

    I think the intention is to have a key-value pair Where (for example) "General" is the value chosen in the form but the user sees "General Inquiry" for a better use experience... but for some reason -- at least on my systems -- the entire string is being evaluated and must be there in the workflow type to get a match. If you open one of the workflows you've submitted and edit it, what shows in the Topic drop-down for you?

    • Jim Michael

      It looks like I also had a typo in my initial message above and the actual strings have no spaces ("General:General Inquiry") which is probably why it doesn't work for you. Sorry about that!

    • Don Smallman

      Hi Jim, it looks like our contact form is not working again. It is setup to go to the organizational email address, correct? I tried to think back, but cant recall if I ever got it working...