# Problem while creating Constant (Runtime)

**URL:** https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126
**Category:** Training, Academy & Certifications
**Created:** [August 27, 2025, 6:56am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126 "2025-08-27T06:56:11Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Aswin](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/a/8baadc/32.png) [@Aswin](https://community.neutrinos.com/u/Aswin)
#### Post date: [August 27, 2025, 6:56am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/1 "2025-08-27T06:56:12Z")

</div>

I’ve started working with the REEL platform and began with the example mentioned in the certification course. In that example, they create the **policy start and end date constant** using **runtime** , which allows the data to be used dynamically right ??. However, when I tried to do the same, I couldn’t find the option to toggle runtime, and it seems the value can only be given statically. Is there any other method to achieve this?

---

<div class="post-metadata">

### Author: ![Simphiwe](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/3be4f8/32.png) [@Simphiwe](https://community.neutrinos.com/u/Simphiwe)
#### Post date: [August 27, 2025, 8:05am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/2 "2025-08-27T08:05:41Z")

</div>

Hi @Aswin,

Could you please share a screenshot of what you are referring to.

---

<div class="post-metadata">

### Author: ![Aswin](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/a/8baadc/32.png) [@Aswin](https://community.neutrinos.com/u/Aswin)
#### Post date: [August 27, 2025, 8:18am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/3 "2025-08-27T08:18:36Z")

</div>

![image](https://community.neutrinos.com/uploads/default/original/1X/2edddd9bc71e97e88d87e515144ed4fa600970f7.png)  
here as mentioned in the REEL certificate we have the option to toggle the runtime and select the source right but right now there is no option for toggle the RUNTIME option. How can i turn on the runtime toggle and select the source from the master data ??

---

<div class="post-metadata">

### Author: ![Simphiwe](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/3be4f8/32.png) [@Simphiwe](https://community.neutrinos.com/u/Simphiwe)
#### Post date: [August 27, 2025, 8:48am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/4 "2025-08-27T08:48:48Z")

</div>

@Aswin,

You can set the value directly there with the value from master data.  
Then use it on your flow.

---

<div class="post-metadata">

### Author: ![Aswin](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/a/8baadc/32.png) [@Aswin](https://community.neutrinos.com/u/Aswin)
#### Post date: [August 27, 2025, 8:51am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/5 "2025-08-27T08:51:28Z")

</div>

How can we provide data from the master data? For example, if I use something like **`MT_policy_details.policy_start_date`** in the value field, will it automatically fetch the data from the master table? In the certification course, they toggled the runtime option and selected the start and end date fields from the source, which is why I’m a bit confused.

---

<div class="post-metadata">

### Author: ![Simphiwe](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/3be4f8/32.png) [@Simphiwe](https://community.neutrinos.com/u/Simphiwe)
#### Post date: [August 27, 2025, 8:57am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/6 "2025-08-27T08:57:04Z")

</div>

No it won’t but it will take **`MT_policy_details.policy_start_date`** as an actually value.

In new Reëls platform, there is no need to create constants at runtime.For constants, you should provide a static value, similar to defining a variable with an associated value.

---

<div class="post-metadata">

### Author: ![Aswin](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/a/8baadc/32.png) [@Aswin](https://community.neutrinos.com/u/Aswin)
#### Post date: [August 27, 2025, 9:04am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/7 "2025-08-27T09:04:41Z")

</div>

![image](https://community.neutrinos.com/uploads/default/original/1X/0184981fd38879f3de53331c8dd3c89d6250c299.png)

In the REEL certification course, they demonstrate how to check whether an insurance policy is valid by comparing the current date with the policy start and end dates. They achieve this by creating a runtime constant. Could you please explain if there’s a way to implement this **without using a runtime constant**? Here as you can see i gave the date manually we want to make that dynamic right ?

---

<div class="post-metadata">

### Author: ![Simphiwe](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/3be4f8/32.png) [@Simphiwe](https://community.neutrinos.com/u/Simphiwe)
#### Post date: [August 27, 2025, 9:21am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/8 "2025-08-27T09:21:07Z")

</div>

To make the date you are comparing with dynamic, you can reference an input key within a rule, it should be declared as **{IP\_keyname}** , and for an output key, it should be formatted as **{OP\_keyname}**

If the requirement is to have dynamic values for variables, please use the input object.

---

<div class="post-metadata">

### Author: ![Aswin](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/a/8baadc/32.png) [@Aswin](https://community.neutrinos.com/u/Aswin)
#### Post date: [August 27, 2025, 12:49pm UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/10 "2025-08-27T12:49:50Z")

</div>

How can we block the flow if a certain condition is not met? We added a condition, but it isn’t working as expected. Specifically, if the status is **Rejected** or **Not Found** , we want the flow to roll back (end immediately). Otherwise, it should continue. Could you please guide us on how to implement this correctly?

---

<div class="post-metadata">

### Author: ![Simphiwe](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/3be4f8/32.png) [@Simphiwe](https://community.neutrinos.com/u/Simphiwe)
#### Post date: [August 27, 2025, 1:46pm UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/11 "2025-08-27T13:46:20Z")

</div>

We had a call with @Aswin and this was resolved, by adding another path for Approved status.

---

<div class="post-metadata">

### Author: ![Aswin](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/a/8baadc/32.png) [@Aswin](https://community.neutrinos.com/u/Aswin)
#### Post date: [August 28, 2025, 5:41am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/12 "2025-08-28T05:41:02Z")

</div>

Hello, I have a doubt. Like we discussed yesterday, in the script rule I created an array to find the respective cell name for the sum insured. I am passing that value to the next rule, which is the master data. There, I am checking the make and model along with the cell name received from the script rule. But how can I match this cell name with the one found in the script rule to get the value of the respective insured sum cell?

---

<div class="post-metadata">

### Author: ![Simphiwe](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/3be4f8/32.png) [@Simphiwe](https://community.neutrinos.com/u/Simphiwe)
#### Post date: [August 28, 2025, 7:07am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/13 "2025-08-28T07:07:58Z")

</div>

Hi @Aswin,

The sum insured are already returned right if they are found on the masterdata.  
To find a specific one depending on the vehicle age.  
On your script you can create an variable that holds all the sum insureds for that vehicle and index in that using the vehicle age.

See example below:

`  
const sumInsureds = [IP\_0\_Rec\_SI, IP\_1\_Rec\_SI, IP\_2\_Rec\_SI, IP\_3\_Rec\_SI,  
IP\_4\_Rec\_SI, IP\_5\_Rec\_SI, IP\_6\_Rec\_SI, IP\_7\_Rec\_SI,  
IP\_8\_Rec\_SI, IP\_9\_Rec\_SI, IP\_10 \_Rec\_SI ]

const OP\_sumInsured = sumInsured[IP\_vehicleAge]

`  
The sum insured will be indexed depending on the velihicle age

---

<div class="post-metadata">

### Author: ![Aswin](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/a/8baadc/32.png) [@Aswin](https://community.neutrinos.com/u/Aswin)
#### Post date: [August 28, 2025, 7:44am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/14 "2025-08-28T07:44:44Z")

</div>

![image](https://community.neutrinos.com/uploads/default/original/1X/903971e4e1fe3c7d7c0d6adb5ae3897b3f102396.png)  
As you can see im returning the cellname my doubt is that how we can find the respective amount on the basis of the cell name

 ![image](https://community.neutrinos.com/uploads/default/original/1X/a224a406d965ac735bef9b79be85c8c1f6dd4f3b.png)

this is how im taking the vehicle details data right now here how can i find the insured value based on the cellname

---

<div class="post-metadata">

### Author: ![Simphiwe](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/3be4f8/32.png) [@Simphiwe](https://community.neutrinos.com/u/Simphiwe)
#### Post date: [August 28, 2025, 7:50am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/15 "2025-08-28T07:50:07Z")

</div>

Hi @Aswis,

Since on Reels script to use an input, you need to use IP\_0\_REC\_SI and all your sum insured are inputs from masterdata. After you have referenced them using IP\_0\_REC\_SI, you can map them correctly.

If you have any doubt, please let me know so we can connect.

---

<div class="post-metadata">

### Author: ![Aswin](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/a/8baadc/32.png) [@Aswin](https://community.neutrinos.com/u/Aswin)
#### Post date: [August 28, 2025, 7:55am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/16 "2025-08-28T07:55:57Z")

</div>

Sir, what I am doing right now is taking the cell name based on the vehicle age. For example, if the vehicle age is 2, I will get `2_Rec_SI`, and I return this cell name to the next rule. The next rule retrieves the metadata of the vehicle based on make and model. Now, I want to find the insured value there using this cell name. How can I match the cell name with the respective field?

---

<div class="post-metadata">

### Author: ![Eldho](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/e/c6cbf5/32.png) [@Eldho](https://community.neutrinos.com/u/Eldho)
#### Post date: [August 28, 2025, 9:21am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/17 "2025-08-28T09:21:22Z")

</div>

@Simphiwe @Sam @sajjad.rehman @Rocky please help

---

<div class="post-metadata">

### Author: ![Simphiwe](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/3be4f8/32.png) [@Simphiwe](https://community.neutrinos.com/u/Simphiwe)
#### Post date: [August 28, 2025, 9:32am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/18 "2025-08-28T09:32:38Z")

</div>

Can we connect @Aswin ??

---

<div class="post-metadata">

### Author: ![Aswin](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/a/8baadc/32.png) [@Aswin](https://community.neutrinos.com/u/Aswin)
#### Post date: [August 28, 2025, 9:33am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/19 "2025-08-28T09:33:08Z")

</div>

Yes we can connect .

---

<div class="post-metadata">

### Author: ![Simphiwe](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/3be4f8/32.png) [@Simphiwe](https://community.neutrinos.com/u/Simphiwe)
#### Post date: [August 28, 2025, 10:58am UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/20 "2025-08-28T10:58:30Z")

</div>

We connected and this was resolved, If you have any doubts or questions don’t hesitate to reach out @Aswin .

---

<div class="post-metadata">

### Author: ![Aswin](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/a/8baadc/32.png) [@Aswin](https://community.neutrinos.com/u/Aswin)
#### Post date: [August 28, 2025, 2:25pm UTC](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126/21 "2025-08-28T14:25:27Z")

</div>

Hi i have a doubt here

 ![image](https://community.neutrinos.com/uploads/default/original/1X/56473408bb4c800b9e99b5ebaaadb46b03f48006.png)  
this is how the age loading MT looks like so in the decision table if i give it like this  
 ![image](https://community.neutrinos.com/uploads/default/original/1X/1c08b049a0347ad4fbc44efc0e4ef57e2feae972.png)  
is this will be a correct approach because we adding the age range here manually right so is this ok or is there is any other method to do this and also

[Next page](https://community.neutrinos.com/t/problem-while-creating-constant-runtime/1126.md?page=2)
