Re: [Dhis2-devs] Program Notification trigger by program rule (Event Program)

2018-10-02 Thread Zubair Asghar Raja
Hi Le
You dont need scheduler to send message using program rule. Secondly check
your log output and search for name of the rule. Name will be associated
with rule evaluation result. I suspect your rule is being evaluated as
false. Send me the complate expression.


Zubair

Den tir. 2. okt. 2018, 8:37 a.m. skrev Ocaya Stephen :

> Hi, can you share the program rule expressions used to execute against.
>
> It is not very visible.
>
> Regards
>
> On Tue, Oct 2, 2018 at 7:55 AM Em Le Hong 
> wrote:
>
>> Dear dev,
>>
>> I'm trying to setup a program rule to send notification message (email)
>> to a user group which trigger by program rule but it doesn't work.
>> It's working properly if I want to send with trigger by Program
>> completion.
>>
>> Below is steps that I did:
>> Create a program rule with expression:
>> [image: image.png]
>> Program rule action:
>> [image: image.png]
>>
>> Program notification:
>> [image: image.png]
>>
>> Scheduler:
>> [image: image.png]
>>
>> Is it a bug or missing something?
>>
>> Thanks,
>>
>>
>>
>> --
>> *Em Le Hong*
>> DHIS2 Implementation| *HISP Vietnam *
>> em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
>>
>>
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> --
> --
> *Stephen Ocaya*
> Tel: +256 393 217 892 | Mob: +256774558980
> www.stephocay.com
> SkypeID: stephocay
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Program Notification trigger by program rule (Event Program)

2018-10-02 Thread Ocaya Stephen
Hi, can you share the program rule expressions used to execute against.

It is not very visible.

Regards

On Tue, Oct 2, 2018 at 7:55 AM Em Le Hong  wrote:

> Dear dev,
>
> I'm trying to setup a program rule to send notification message (email) to
> a user group which trigger by program rule but it doesn't work.
> It's working properly if I want to send with trigger by Program completion.
>
> Below is steps that I did:
> Create a program rule with expression:
> [image: image.png]
> Program rule action:
> [image: image.png]
>
> Program notification:
> [image: image.png]
>
> Scheduler:
> [image: image.png]
>
> Is it a bug or missing something?
>
> Thanks,
>
>
>
> --
> *Em Le Hong*
> DHIS2 Implementation| *HISP Vietnam *
> em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>


-- 
--
*Stephen Ocaya*
Tel: +256 393 217 892 | Mob: +256774558980
www.stephocay.com
SkypeID: stephocay
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Program Notification trigger by program rule (Event Program)

2018-10-01 Thread Em Le Hong
Dear dev,

I'm trying to setup a program rule to send notification message (email) to
a user group which trigger by program rule but it doesn't work.
It's working properly if I want to send with trigger by Program completion.

Below is steps that I did:
Create a program rule with expression:
[image: image.png]
Program rule action:
[image: image.png]

Program notification:
[image: image.png]

Scheduler:
[image: image.png]

Is it a bug or missing something?

Thanks,



-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp