×

Please give details of the problem

Docs

Find

    Developer Guide

    1. Composite API Example
      1. Scripted Lanes
      2. Compound Organization Hierarchy
      3. Dynamic Lanes
      4. Delegation
      5. Access Rights
      6. Runtime Lanes
        1. Todo Validation
      1. Release Your User Login
      1. Collections To Array
      2. Collections To List
      3. Collections BackOffice
      4. Collection JS Freemarker
        1. CSS Examples
        2. CSS Personalization
      1. Performance
        1. Logout
        2. Redirection ExecutionMode
        3. Information Tags
        4. Basket
        5. Menu Bar
        6. Header
        7. Custom Login Page
        8. Mobile Devices
          1. homepage.css
          2. homepage.js
        1. Inject JSONObject
        2. Google Tables
        3. ArrayJSON to JSONArray
        4. Label Modification
        5. Number Currency Format
        6. Launch Process JQuery
        7. Date
        8. JQuery
        9. Round
        10. Holidays
        11. Array From WS
        12. Column Inactivation
        13. Print JSONObject
        14. Initialization Widget Date
        15. Invalid Fields
        16. List Reinitialization
        1. Tags
        2. Dialog Window
        3. Dynamic List
        4. User Lane Picker
          1. Report Chart
          2. Google Visualization
          3. Chart Dashboard
          4. Chart Dashboard Collection
        5. API Listener
        6. JavaScript Report
        7. Retrieving Variables Values
        8. Collection
        9. File Preview
        10. Autocomplete Widget
        11. Summing Array
      1. Trigger
      2. Markdown Template
        1. Task Reminder Email
        2. JavaScript Inclusion
        3. PDF
        4. SubProcess
        5. Backloop
        6. Variable Mapping
        1. Salesforce Computation
        2. Number Currency Format
        3. List Hash Sequence
        4. JSONObject Creation
        5. Freemarker Container Test
        6. JSONObject Concatenation
        7. Metadata
        8. Special Freemarker Characters
        9. List 1000+ Objects
        10. Dynamic Variable
        11. File Visibility
        12. Number Test
        13. JSONObject Keys Values
        14. Lock
        15. JSONArray Conversion
        16. Error Handling
        17. Loop
        18. Array To List
      1. Process Reporting API
      1. Offline
      2. Mobile

    Runtime Lanes

    A runtime lane allows you to determine the members of the lane at runtime.

    1 Behavior

    A Runtime Lane is an empty lane that you can populate during the execution of a request.

    Please note that once you have made a lane a runtime one, you cannot change it for a different type of lane. Similarly, existing lanes of another type cannot be changed to be Runtime ones.

    Two freemarker methods are dedicated to managing the content of a runtime lane :

    P_add_user_to_lane : adds a given user to a specified lane

    P_remove_user_from_lane : removes a given user from a specified lane

    info_1 Those two methods will throw an error if the specified lane is not a runtime lane

    info_1 Those two methods will have no effect in TEST mode.

    info_1 Those two methods will return a list of user ids (that are part of the specified lane)

    2 Configuration

    To configure a runtime lane, you have to check "runtime role" tickbox in the configuration of the lane (see screenshot).

    info_1 There is no limitation to the number of runtime lanes that can be created within the organization or used within a process

    3 Examples

    Inside the process definition, you can, for example, use :

    1
    ${P_add_user_to_lane([1234,5678])}
    

    User 5678 will be added to lane 1234

    1
    ${P_add_user_to_lane(1234, 'foo@bar.com')}
    

    User foo@bar.com will be added to lane 1234

    The list of added users can be displayed in the process report. See Runtime Users

    Organization management

    P_add_user_to_lane

    P_remove_user_from_lane

    get_lane_users