Multiple issues with modified app

Confluence User - 20 Jul, 2017

Hi all.  Hopefully this is the correct place to ask for assistance.  I recently took the Purchase Requisition App, made a copy of it, and modified it for a police department.  Basically, I needed to add several more approval steps to the process.

First, here is a link to the app: http://bit.ly/2vk4B51

Second, here's a summary of the process:

  • Officer submits a purchase request, which goes to the sergeant for review
  • Sergeant approves, request goes to Commander
  • Commander approves, request goes to Deputy Chief
  • Deputy Chief approves, request goes to Assistant Chief
  • Assistant Chief approves, request goes to Chief
  • Chief approves, and approval notice is sent to Officer
  • At any stage, the request can be denied and the Officer is notified

Currently, the officer is able to submit a request and the sergeant can approve it.  From there, while all requests will appear in the Purchase Request Listing, the requests will not appear in the Commander's inbox (nor anyone else's) for approval.  So, I believe there is a problem with my process design but I do not know what it is.

Third, I'm having an issue with the SMTP settings for the Email Tool plugin.  I have confirmed with our email host the SMTP host name and port, and confirmed that they work outside of Joget.  When I enter that information in the Email Tool configuration and test the settings, however, I receive the error: 

Test email failed to sent.  Sending the email to the following server failed: <smtp host name>

By the way, we use Joget's cloud server.  Could there be something about the cloud server blocking the email test?

Thanks in advance for any assistance.

 

process;email;purchaserequestion

2


20 Jul, 2017
confluenceUser
confluenceUser

Hi, it looks like the transition condition is not met, so the process did not proceed to the desired activity. Did you map the value of your approval form field correctly to your workflow variable? You will need to make sure the exact workflow variable name used in the process matches the one mapped in your form element.

Also, what happens when the condition is not met? You should have Otherwise transitions from your route to handle this flow.

For the SMTP problems, not sure what email provider you are using, but I have encountered problems in using GMail SMTP and I had to either enable 2factor authentication, or allow less secure app access

https://support.google.com/mail/answer/7126229?visit_id=1-636361151875940181-391707282&rd=2#cantsignin

 

20 Jul, 2017
confluenceUser
confluenceUser

Anders, thank you for your guidance.  This certainly pointed me in the right direction.

As for the email issue, our exchange server is hosted by Sherweb, and it's those settings I'm attempting to use.  I will continue to look into it, and perhaps use Gmail just for the workflow.

Again, thank you for your help.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print