← Back to team overview

dhis2-devs team mailing list archive

Re: API - Post Event - Program Rule not triggered

 

Matt,

Until very recently, all program rules were run on the client side. Support
for server-side program rules have been added recently, but I believe only
in trunk (2.30 - initial beta to be released tomorrow). Using that, I
believe it will be possible to trigger that assign rule via the api

Regards
calle

On 14 June 2018 at 15:27, Matt Finholt-Daniel <mfinholt@xxxxxxxxxx> wrote:

> Hi All,
>
>
>
> I’m hoping that you can help me out. I am using the API (/29/) to push a
> Program Event into the DHIS2. This program also has a "program rule" set on
> it that adds two of the variables together and sets the result to a third
> value. I've notice that this program rule is not run until I actually visit
> the page and choose to edit that record.
>
>
>
> Does anyone happen to know if there is any way that I can remotely trigger
> the program rule to run via the API?
>
>
>
> Thanks,
>
> Matt
>
>
>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

*******************************************

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@xxxxxxxxx

Skype: calle_hedberg

*******************************************

References