cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

mobile app form 2010 runtime repeating section function currentRowNumber returning -1

Hi

I'm trying to get a value from the first and last repeating sections in a 2010 mobile app form. Apparently I can number the repeating sections by using the runtime function 'currentRowNumber'. I'm wondering if this can be used in the mobile app form as I keep getting a negative one back for the row counts -1.

Thanks
Joanne

0 Kudos
Reply
10 Replies
Workflow Hero

Re: mobile app form 2010 runtime repeating section function currentRowNumber returning -1

Hi Joanne,

are you testing in preview mode? This is the same behaviour for task outcomes in task forms. While being in preview mode, evaluating the outcome field will always result in -1. Haven't worked with mobile forms yet, but I think that could be the problem.

Cheers

Philipp

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: mobile app form 2010 runtime repeating section function currentRowNumber returning -1

oh aha! I'll check that out.

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: mobile app form 2010 runtime repeating section function currentRowNumber returning -1

I also have this issue when using O365. Maybe this runtime function has issues on mobile. I'll contact support.

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: mobile app form 2010 runtime repeating section function currentRowNumber returning -1

Hey ‌ - did you ever get a response from support on this?

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: mobile app form 2010 runtime repeating section function currentRowNumber returning -1

Yes, at the time, currentRowNumber was not supported in the mobile app.  There have been general bug fixes in the last two versions. I could followup.

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: mobile app form 2010 runtime repeating section function currentRowNumber returning -1

In testing, I no longer get -1, but no number at all.

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: mobile app form 2010 runtime repeating section function currentRowNumber returning -1

I'm getting a different outcome from your most recent test, Andrew. I'm getting -1 for every currentrownumber() in mobile, still. 

Has this been logged as a bug?

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: mobile app form 2010 runtime repeating section function currentRowNumber returning -1

This function is actually listed in their not supported list for mobile. So it wouldn't be a bug, just a feature not available that we need really bad!

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: mobile app form 2010 runtime repeating section function currentRowNumber returning -1

Oh heck!  Yes, definitely need this one badly.

0 Kudos
Accept as Solution Reply