Skip to Main Content
Cloud Management and AIOps


This is an IBM Automation portal for Cloud Management, Technology Cost Management, Network Automation and AIOps products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).

Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.

Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Functionality already exists
Created by Guest
Created on Sep 2, 2024

Improve try catch to reduce number of required blocks.

Currenty when using try/catch blocks, you almost always need 4 blocks. "Try"... "block to execute" ... "catch" ... "if block to check exception".

I think the improvement might be to merge the catch/if by making the catch block have fields to simulate the if block. The catch should have a condition to match the node that threw exception and the message thrown. Also having multiple catches and all get evaluated, like a case statement.

This is my "if block" in the catch:

$catchSearchError_1.message === "Error: No Such Object" && $catchSearchError_1.stack[0].node === "getBluepagesByDN"

Idea priority Low
  • Admin
    Shane Hadden
    Reply
    |
    Sep 16, 2024

    Part of the design of Pliant has been akin to the UNIX philosophy of "Make each program do one thing well" but with blocks instead of programs. We've tried to keep a simple set of blocks that can be combined in powerful ways.
    In this case, I would recommend using a Switch/Case inside the Catch block, but set the value of "expression" to be the boolean value true. Then each case can have whatever kind of boolean JS expression is appropriate.