Timestamp BPM Method Help

Hello all,

I’ve been working on a Tickbox Timestamp customization for a bit now and i’m at a point where i’m stuck in a loop and cannot seem to work out this problem.

The above is the customization that is in place within the Job Entry Header. The idea is that when a user ticks the tickbox, it will insert the user’s username, date and time into the read-only text box below.

UD Columns
COC Complete Tickbox - UD_JobCOCStatus_c
Timestamp Textbox - UD_JobCOCTimestamp_c

To achieve this function, I created a Pre-Processing Method Directive within JobEntry.Update,
to display the BPM easily I have made a Gliffy demonstrating how it works.

Now majority of users who use Job Entry, receive no errors when working within the menu. However, one of the users have appeared to receive the following,

My guess to why this is happening is because my BPM is limited by not supporting multi rows within Job Entry. However, I cannot seem to find a way of getting around this at all. Does anyone have any ideas on what I can do to support multi rows instead of just the one?

Thank you!

Add a table or field output to a dialog box, and stick it to the end of the BPM process. Then trigger it from the user that generates multiple records. Your goal is to find out what is creating multiple records. Are there multiple assemblies on the job? Are there multiple jobs being returned? Once you find that out, just fix your BPM to ensure it only references one job number. If you regularly get two records you can use something like .FirstOrDefault() to get just one value.
Good luck!

1 Like