Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Shared Flow not allowing variables {config.abc} in configuration/XML

Not applicable

Unable to externalize shared flow variable using external flow/env/org variables that can be configured for a different value when the shared flow is used in different flows.

Need some ideas to make this happen.

As a sample this is what is needed. Check the {conf.var.abc} as a sample.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Quota async="false" continueOnError="false" enabled="true" name="Quota-policy" type="calendar">
    <DisplayName>Quota-policy</DisplayName>
    <Properties/>
    <Allow count="2000" countRef="request.header.allowed_quota"/>
    <Interval ref="request.header.quota_count">{conf.var.abc}</Interval>
    <Distributed>false</Distributed>
    <Synchronous>false</Synchronous>
    <TimeUnit ref="request.header.quota_timeout">{conf.var.cde}</TimeUnit>
    <StartTime>2017-2-23 12:00:00</StartTime>
    <AsynchronousConfiguration>
        <SyncIntervalInSeconds>{conf.var.hjk}</SyncIntervalInSeconds>
        <SyncMessageCount>{conf.var.cde}</SyncMessageCount>
    </AsynchronousConfiguration>
</Quota>

This is possible:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Quota async="false" continueOnError="false" enabled="true" name="Quota-policy" type="calendar">
    <DisplayName>Quota-policy</DisplayName>
    <Properties/>
    <Allow count="2000" countRef="request.header.allowed_quota"/>
    <Interval ref="request.header.quota_count">1</Interval>
    <Distributed>false</Distributed>
    <Synchronous>false</Synchronous>
    <TimeUnit ref="request.header.quota_timeout">month</TimeUnit>
    <StartTime>2017-2-23 12:00:00</StartTime>
    <AsynchronousConfiguration>
        <SyncIntervalInSeconds>50</SyncIntervalInSeconds>
        <SyncMessageCount>50</SyncMessageCount>
    </AsynchronousConfiguration>
</Quota>									
0 1 265
1 REPLY 1