Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
2.0.0
-
None
-
None
Description
Current Situation
- As explained with the JS7 - Notifications - Configuration Element MailFragment article the attribute job_resources should accept a list of JS7 - Job Resources that specify mail server connection settings.
- This does not work:
- GUI - the MailFragment accepts a single job resource only.
- Monitor Service - does not properly resolve the sequence of job resource assignments.
Desired Behavior
- The handling of a number of job resources should work fine.
- The sequence of assignments is relevant as variables with the same name are not overwritten in the order of the first to the last assignment.
Test Instructions
- Configuration->Inventory
- create a job_resource e.g. mail with the mail settings.
- set the from_name argument to from mail job resource
- create a job_resource e.g. mail_copy as a copy the mail job resource.
- set the from_name argument to from mail_copy job resource
- Deploy this job resources
- create a job_resource e.g. mail with the mail settings.
- Configuration->Notification
- assign the job resources to a MailFragment job_resources attribute:
- use ordering: job_resources mail mail_copy
- Release this configuration and run a workflow order
- Check From of the recieved mail - it should be from mail job resource
- use ordering: job_resources mail_copy mail
- Release this configuration and run a workflow order
- Check From of the recieved mail - it should be from mail_copy job resource
- use ordering: job_resources mail mail_copy
- assign the job resources to a MailFragment job_resources attribute: