I need to resolve a parameter value depending upon whether I have a serial or multifile. Below is the scenario... 

I have created a generic graph where I have a reformat component just after the input file component... At run time! I need to check input file if it is serial or multi... And accordingly I have to populate the layout of reformat...! 

Hence.. To achieve this I am looking for some specific abinitio function...! 

Thanks