7 Replies Latest reply: May 22, 2012 9:05 AM by Yogini Rajemane RSS

Difference Of Service action in Active link & Filter ?

jagadish patil

Difference Of Service action in Active link & Filter ?

  • 1. Difference Of Service action in Active link & Filter ?
    Misi Mladoniczky

    Hi,

     

    The difference would be that the a FLTR-service-call will not do a new call to the server, which I guess is expected.

     

    I have also seen instances where ACTL-service-calls are not made unless you specify a valid output mapping...

     

    I have not checked what kind of permissions you need to form/filter to do an ACTL-service-call, but that could be interesting to look into.

     

    A very special feature of FLTR-service-calls are that whatever happens in them will be committed to the database even if filters outside of the service-call throws an error. This is not a difference as such either, but it can be useful to know this when doing FLTR-service-calls.

     

    I love service-calls, they are great

     

            Best Regards - Misi, RRR AB, http://rrr.se

  • 3. Difference Of Service action in Active link & Filter ?
    Misi Mladoniczky

    Hi Yogini,

     

    While informative, none of those posts says anything about DIFFERENCES between calling a service from an ACTL or FLTR.

     

            Best Regards - Misi, RRR AB, http://rrr.se

  • 4. Difference Of Service action in Active link & Filter ?
    Yogini Rajemane

    Hi Jagdish,

     

    Service action in active link can be used when we have some filters which we  wish should get fired as soon as some of our active links get executed. But for filter to get fire we need to perform some  Submit /Modify/Get/Delete operations on some requests which triggers the filter.

     

    So in this situation we can make use of service action in active link.It allows applications to execute workflows without performing submit/get/modify/delete operations which are execution options for a filter.

     

    There are options to dynamically specify the server name and the form name.

     

    So in short:

    Active link with service action:  Triggers Filters with Service as execution option and required values are passed through input mapping.

    Filter with service as execution option : Perform the actual operation and Pass back the values to the Active link as mentioned in the output mapping .

    Request ID field in service action is used to  provide output data to the current transactionfor use in further processing.

    We only need to give  appropriate permissions for active link and no need give permissions in case of filters as they run with administrative permissions.


    Hope this help .

     

    Regards,

    Yogini


  • 5. Re: Difference Of Service action in Active link & Filter ?
    Misi Mladoniczky

    Hi Yogini,

     

    I think you are mixing FLTRs that trigger on Service call with the FLTR-service-action, which in all aspects that I know of "should" work in the same way as if called via an ACTL-service-action.

     

    In other words there are no difference between an ACTL-service-action and a FLTR-service-action.

     

            Best Regards - Misi, RRR AB, http://rrr.se

  • 6. Difference Of Service action in Active link & Filter ?
    Ashwanth Padmanaban

    Yes as Misi said there is no diff between a Service Action in AL or Filter only thing what varies would be Active Link triggers the Service Action to a specified form from Client to the Server and the Filter Service Action just triggers the Service Action within the Server to a specified form.

    o

    for example if you have a Service Event Filters on Form A and if you are calling that Service Action Filters by performing a Service Action in the AL or in FLT passing Input and Output Mapping would perform the same action of executing the Filters of Form A which all are trrigered on the Service Event.

     

    so the difference would be from where the trigger is coming from in case of AL its client to server and in case of filter its within the server...the output would be given back to the client(the record which has been loaded in the form) in case of AL and here the output would be returned back to the Filter(the Transaction which is being processed in the Server currently) which called up the Service Action.....

     

    Misi-

    you mentioned that at some point when Output mapping is defined Service Event is not getting passed to the Server right from AL? this is a known issue in one of the User Tool version... if you execute the same AL which doesnot have any output mapping in the Midtier that would actually pass the Service Trigger to the Server.

  • 7. Difference Of Service action in Active link & Filter ?
    Yogini Rajemane

    Hi Misi,

     

    I understood the concept clearly .

    Thanks for correcting me .

     

    Regards,

    Yogini