B2B Integration

Sterling B2B Integration

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  How to Bulk Assign/Change Priority Queue # to Business Processes in Sterling B2B Integrator

    Posted 21 days ago

    Hi all,

    I'm working on Sterling B2B Integrator (version [6.0.1]) and looking for a way to bulk assign/change the priority queues to multiple Business Processes (BPs). I have a large number of BPs (over 400]) that need to be mapped to a specific custom queue. 

    Unfortunately we haven't installed B2B REST service which is not part of our license.

    Is there an official or recommended way to bulk-assign queues (e.g., using a script or through any hidden features in Resource Manager)?

    Appreciate any best practices or automation tips from those who've done this in production.

    Thanks,

    Nisam



    ------------------------------
    Nisam PH
    ------------------------------


  • 2.  RE: How to Bulk Assign/Change Priority Queue # to Business Processes in Sterling B2B Integrator

    Posted 20 days ago

    Hi Nisam,

    Yes, it is possible; but not straightforward.  I will try my best to explain the steps.

    1) Export all the BPs.  You can bulk export all BPs using the GPM.  Through the GPM, select the server; multi-select all the BPs to be exported and then choose Check-out specifying which folder to check out to.  Also remember to untick the box about locking the BP.

    2) Use the addWorkflow.sh/.cmd to iterate over each BP to add into Sterling.  There are parameters that will allow setting the queue as well as other BP properties like persistence, etc.  

    Its been a while since Ive had to use that script; so not sure - but you may need to extract the xml file from the export .bp file first as well.

    Regards,

    Vivek Mittal



    ------------------------------
    Vivek Mittal
    ------------------------------



  • 3.  RE: How to Bulk Assign/Change Priority Queue # to Business Processes in Sterling B2B Integrator

    Posted 20 days ago

    Hi Vivek,

    Thank you for the solution - the information provided is extremely helpful.

    In parallel, I was exploring an alternative approach based on my actual requirement, which involves shuffling and assigning queues for each Business Process in the system. Specifically, over 400 BPs need to be distributed across queues Q1 to Q9.

    Here's what I have done so far:
    I exported the BPs in groups (Q1 to Q9) using the export.sh command with the BPDEFS argument, which generated the BPs in XML format. I then manually updated the XML files (to change Priority Queue and Description) and uploaded them via the UI.

    However, based on your suggestion, it seems I can avoid the manual editing and uploading steps by using the addWorkFlow.sh script. I'll explore that option further.

    Thanks again for your valuable guidance!

    Nisam



    ------------------------------
    Nisam PH
    ------------------------------