AnsweredAssumed Answered

Resources status change notification to Project manager

Question asked by Nag_cl on Nov 21, 2012
Latest reply on Nov 21, 2012 by Dave
Hi all,

We got an requirement to send an email to project's manager on the following:
Project/resource manager should be notified when a resource made active /inactive in clarity.
Project/resource manager should be notified when a new resource allocated to a project.

I thought we could achieve by creating a Process in Data administration.I also prepared a gel script to send out an email to a manager

Question is:
In the process precondition i didn't see the resource status as an attribute.So i was unable include a condition to trigger the process.Is there any way to do it?(Attaching the SS)

In the gel script i have prepared i mentioned the resource's email ID explicitly(its a test version :bashful:).Can we retrieve the project manager's details into the gel script to use them effectively for all the projects?
<gel:script xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:core="jelly:core"
    xmlns:mail="jelly:email"
    xmlns:file="jelly:com.niku.union.gel.FileTagLibrary"
    xmlns:fn="http://www.w3.org/2005/xpath-functions"
    xmlns:gel="jelly:com.niku.union.gel.GELTagLibrary"
    xmlns:soap="jelly:com.niku.union.gel.SOAPTagLibrary"
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:sql="jelly:sql"
    xmlns:xog="http://www.niku.com/xog"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<mail:email from="xyz@xyz.com" to="abc@abc.com" subject="Subject" server="servername">
Message
</mail:email>
</gel:script>

Attachments

Outcomes