In my Drupal 7 site I have content type Job
.
Recruiters post information about open positions. Registered users can apply for any position by flagging node using the Flag module. I have built custom form for recruiters where they can manage applications. With this form recruiters can review profile and select candidate for position by submitting the form.
I want to hide/unpublish content when form is submitted and notify user via email that his application was confirmed. How can this be done programmatically?
Also I'm using Rules. If these actions can be implemented via Rules
, how can I create event and conditions to perform actions against specific user id
and node id
?