79304325

Date: 2024-12-23 21:54:26
Score: 1
Natty:
Report link

There may be a couple of issues causing the infinite execution that causes the hanging issue:

I suggest you try these approaches:

// Option 1: Use async/await
execute JavaScript text starting from next line and ending with [END]
    var tenantName = "Ford CSP";
    await testRigor.execute('map tenant name "' + tenantName + '" to vinDecoder domain');
[END]

// Option 2: Use a callback
execute JavaScript text starting from next line and ending with [END]
    var tenantName = "Ford CSP";
    testRigor.execute('map tenant name "' + tenantName + '" to vinDecoder domain', function(result) {
        // Handle the result here
        console.log('Rule execution completed');
    });
[END]

Do you mind sharing what’s inside the reusable rule you’re trying to execute?

And are you seeing any specific error massages in the logs?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Zeros-N-Ones