Skip to main content
Search Again

We think these articles could help you:

    See More
    Nintex Knowledge Base

    Bypassing VisualForce Page with Mass LOOP button

    Summary
    How to bypass the VisualForce Page using the Mass LOOP button.

    Solution
    Add the following parameters below to your Mass LOOP Button syntax:
    &autorun=true&ddpids=[ddpID]&deploy=[deployID]

    Below is a sample, for reference.
    {!REQUIRESCRIPT("/soap/ajax/26.0/connection.js")}
    
    {!REQUIRESCRIPT("/support/console/26.0/integration.js")}
    
    var ids = {!GETRECORDIDS($ObjectType.Vacation__c)};
    if (!ids || ids.length < 1)
        alert("Please select at least one record.");
    else
    
    {var redirectUrl = "/apex/loop__masslooplus?retURL=" + encodeURI(window.location.pathname+window.location.search);
        redirectUrl += "&recordIds="+ids.join(",");
        redirectUrl += "&sessionId={!$Api.Session_ID}";
        redirectUrl += "&contactField=Travel_Agent__c";
        redirectUrl += "&autorun=true&ddpids=a021a000000Dc0r&deploy=a011a000002YByS";
        window.location.href = redirectUrl;}
    • Was this article helpful?