Sending Multiple Email Notifications

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
paddo2002
Posts: 83
Joined: Mon Dec 03, 2007 8:49 pm

Sending Multiple Email Notifications

Post by paddo2002 »

I have a business object called document, with a NotificationList Attribute which references the users attribute. I want to use the SEND command to send a notification to all the instances of users in the NotificationList attribute. It seems to work for one instance, but if there are more than one instance of users then it doesn't seem to work.

Can anyone recommend the rule to send this.

I have
If Document is new,
SEND Document.NewDocument to NotificationList

Cheers
PM
paddo2002
Posts: 83
Joined: Mon Dec 03, 2007 8:49 pm

Post by paddo2002 »

Just thought of something else.

Is it possible to have an email address field that behaves the same as a mailto: tag in html. ie it is displayed blue and will launch the email program if clicked on it?

I don't want to do full blown CRM with my app, but would like to have a sort of address book built in.

PM
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

Re: your first post.

I think what you want to do is 2 processes:

1- first process has 2 actions:
FIND ALL NotificationList
SendNotifications

2- Second process is called SendNotifications:
SEND Document.NewDocument to NotificationList

Note that this process will have NotificationList as a Process Input.

Can you let me know if this works for you. I have not actually tested it in a test BSV.

Tom
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

PM,

I got this to work in an application I am developing. In my case, my FIND needed to be a subset of NotificationList.

For example:
FIND NotificationList WHERE NotificationList.City='New York'
SendNotifications

In one other application, I intend to send message to selected users using something like:
FIND RegularUser WHERE RegularUser.Country='USA'
SendNotifications


Hope this helps,
Tom
paddo2002
Posts: 83
Joined: Mon Dec 03, 2007 8:49 pm

Post by paddo2002 »

Thanks Tom
That did the trick!!!

Cheers
Patrick
Post Reply