Topic
  • 3 replies
  • Latest Post - ‏2013-09-07T07:41:47Z by ManojBansal
ManojBansal
ManojBansal
26 Posts

Pinned topic Functional map is not getting invoked

‏2013-09-02T15:31:20Z |

Hi All,

I have a map in which I'm calling the functional map and don;t know why but the functional map is not getting invoked.

None of the rules of functional maps are working though the data is present in the input file!!! :(

Can you tell me what could be the possible reason for that?

Thanks

Manoj

  • Bhoju
    Bhoju
    37 Posts
    ACCEPTED ANSWER

    Re: Functional map is not getting invoked

    ‏2013-09-05T14:26:43Z  

    Post your functional map rule.  One of the objects in it is evaluating to None.  Try using Debug and step through the functional map rule.

    Make sure your executable map is reaching upto the point which call functional map (e.g. You are calling a functional map based on some condition). you can comment the call to functional map and print a string over there just to make sure your code flow is reaching till there.

    If its reaching, then its a problem with arguments passed to functional map, one of them must be NONE, there is no other way a functional map wouldnt be called.

    Try enabling output trace also and see the rule which call functional map is evaluating to what?....

  • Jim Divoky
    Jim Divoky
    20 Posts

    Re: Functional map is not getting invoked

    ‏2013-09-04T15:01:25Z  

    Post your functional map rule.  One of the objects in it is evaluating to None.  Try using Debug and step through the functional map rule.

  • Bhoju
    Bhoju
    37 Posts

    Re: Functional map is not getting invoked

    ‏2013-09-05T14:26:43Z  

    Post your functional map rule.  One of the objects in it is evaluating to None.  Try using Debug and step through the functional map rule.

    Make sure your executable map is reaching upto the point which call functional map (e.g. You are calling a functional map based on some condition). you can comment the call to functional map and print a string over there just to make sure your code flow is reaching till there.

    If its reaching, then its a problem with arguments passed to functional map, one of them must be NONE, there is no other way a functional map wouldnt be called.

    Try enabling output trace also and see the rule which call functional map is evaluating to what?....

  • ManojBansal
    ManojBansal
    26 Posts

    Re: Functional map is not getting invoked

    ‏2013-09-07T07:41:47Z  
    • Bhoju
    • ‏2013-09-05T14:26:43Z

    Make sure your executable map is reaching upto the point which call functional map (e.g. You are calling a functional map based on some condition). you can comment the call to functional map and print a string over there just to make sure your code flow is reaching till there.

    If its reaching, then its a problem with arguments passed to functional map, one of them must be NONE, there is no other way a functional map wouldnt be called.

    Try enabling output trace also and see the rule which call functional map is evaluating to what?....

    Thanks! Yes you are right, the argument that I passed was wrong. Cheers!

    Updated on 2013-09-07T07:42:25Z at 2013-09-07T07:42:25Z by ManojBansal