The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now!
A chart showing the TIBCO Platform vision
Jump to content
Articles
Read more about TIBCO use cases, product features, capabilities and more
  • RQL Samples


    Deepesh Tiwari

    HowTo

    to define a dynamic Query you need to use a Performer Data Field and a Dynamic Query within a Script. i.e. a Task Work Manager Open or Submit Script, here some examples:

    Claimant = WorkManagerFactory.getWorkItem().getWorkItemResource().getName();

    To get the GUID of the resource who has started the case:

    ClaimantGUID = Process.getOriginator();

    To get the handle of the resource who started the case:

    Authoriser = 'resource(name="'+ ClaimantGUID +'")?;

    To get the position of resource who started the case:

    Authoriser = 'resource(name="'+Claimant+'").position(name="*")?;  

    To get the orgUnit of resource who started the case:

    Authoriser = 'resource(name="'+Claimant+'").position(name="*").orgunit(name = "*")?;

    To get the manager position of resource who started the case:

    Authoriser = 'resource(name="'+Claimant+'").position(name="*").orgunit(name = "*").position(name="Manager")';

    To get the parent orgUnit of resource who started the case:

    Authoriser = 'resource(name="'+Claimant+'").position(name="*").orgunit(name = "*").position(name="Manager").orgunit(name = "*")';

    To get Sr Manager position of parent orgUnit of resource who started the case:

    Authoriser = 'resource(name="'+Claimant+'").position(name="*").orgunit(name = "*").position(name="Manager").orgunit(name = "*").position(name=?SrManager?)';

    The Performer Data-field Authoriser can be used afterwards as a Step Task Participant.


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...