Hi,
I was able to do this. Had to modify the xsd.
<xs:complexType name="START">
<!--<xs:attribute name="to" type="workflow:IDENTIFIER"
use="required"/>-->
<xs:attribute name="to" type="xs:string" use="required"/>
</xs:complexType>
This way I can decide which action to run by passing a variable in
job.properties
Thanks & Regards,
Harish.T.K
On Thu, Jul 12, 2012 at 6:56 PM, Harish Krishnan <
[email protected]> wrote:
> Hi,
>
> I was wondering if it is possible to do
>
> <workflow-app xmlns='uri:oozie:workflow:0.2' name='custom-wf'>
> <start to='${myAction}'/>
> <action name='action_1'>
> ......
> </action>
> <action name='action_2'>
> .......
> </action>
> </workflow-app>
>
> and then define the value in job.properties?
>
> I know that this does not match the reg-ex for the type IDENTIFIER. But is
> there by any means I can make this work?
>
> Thanks & Regards,
> Harish.T.K
>