Prime number using Flow service?

Hi,

How to write a Prime number using Flow service actually i want to check whether a given number is Prime or not? Plz give me step wise, properties to set and mapping as well

Regards,
Datta

Determining whether a number is prime is not a very common business scenario. Why do you need to do this? Have you spent any time with Google to see how this is done in Java?

Mark

Ya I have done it in Java and i want to implement the same in Flow service and am not getting the correct output, my problem is its not executing the map steps inside Repeat