Skip to main content
Solved

How to auto-submit a task with Barcode field


Forum|alt.badge.img+3

We have a task with a barcode as the last parameter that is scanned using an externally connected barcode scanner:

According to the documentation, the task should submitted directly, but that doesn't happen.

How do I get this working?

Best answer by Erwin Ekkel

We found a problem with the barcode scanning. 

The barcode scanner should auto commit the task if it's the last field. This does not work if the task is started from a tile menu. And this also does not work from a table task if the connection is too slow. 

Since this will be investigated by a TCP ticket I will close this topic. 

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

17 replies

Anne Buit
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 637 replies
  • March 4, 2024

Hi, 

Feel free to create a ticket for this specific behavior.

There is a more reliable way to achieve this functionality with Thinkwise Platform version 2024.1. The Auto-commit feature allows you to hit ‘Execute’ using your Default logic.


Forum|alt.badge.img+3
  • Author
  • 53 replies
  • March 4, 2024

Hi Anne,

My ticket was canceled because I had to create a topic on the community… Kastje naar de muur.

Currently we are unable to upgrade to 2024.1 because we are still using the Web GUI.


Forum|alt.badge.img+17
  • Moderator
  • 761 replies
  • March 4, 2024

Did you check this topic regarding missing Mime types? That seems to be a prerequisite to get this working. 

Continous barcode scanning with Android device in universal | Thinkwise Community (thinkwisesoftware.com)


Anne Buit
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 637 replies
  • March 4, 2024

I’ve checked with support and the functionality does currently work as intended.

Is the handscanner firing a Tab keystroke after scanning the barcode?


Forum|alt.badge.img+3
  • Author
  • 53 replies
  • March 6, 2024
Anne Buit wrote:

I’ve checked with support and the functionality does currently work as intended.

Is the handscanner firing a Tab keystroke after scanning the barcode?

Yes, it does. In Windows you see that the focus goes to ‘Uitvoeren’, but in Universal nothing happens.

Erwin Ekkel wrote:

Did you check this topic regarding missing Mime types? That seems to be a prerequisite to get this working. 

Continous barcode scanning with Android device in universal | Thinkwise Community (thinkwisesoftware.com)

Yes, first I checked all the topics concerning this subject before I created the ticket and this topic.


Forum|alt.badge.img+3
  • Author
  • 53 replies
  • April 2, 2024

Anyone else with a suggestion to get this working?


Forum|alt.badge.img+17
  • Moderator
  • 761 replies
  • April 3, 2024

Does this also not work when using the functionality on a desktop, or is this problem only occurring on the scanner itself? If it also doesn't work on the desktop which browser are you using?


Forum|alt.badge.img+3
  • Author
  • 53 replies
  • April 3, 2024

The scanner we are using is the Datalogic QuickScan QBT2101, wireless connected to Windows. So the browser is Edge.


Forum|alt.badge.img+17
  • Moderator
  • 761 replies
  • April 3, 2024

Just tested it on Edge, works as expected. Can you please confirm if it's working when not using a scanner but working on a desktop directly? 


Forum|alt.badge.img+3
  • Author
  • 53 replies
  • April 3, 2024

If I manually enter the barcode on a desktop, I have to press Tab three times before the task executes. However, if I leave the field empty and press tab, the task executes immediately.

I have two videos demonstrating the behaviour, but unfortunately i can’t upload them here (mp4 or compressed as zip).

It seems very easy in the documentation, and my task doesn’t appear to be so complicated.


Forum|alt.badge.img+17
  • Moderator
  • 761 replies
  • April 4, 2024

Could you send me a model extract? That way I can test if it works on our server with your model. I have sent you a mail, if you could reply and add a model extract than I can have a look. 


Forum|alt.badge.img+17
  • Moderator
  • 761 replies
  • April 4, 2024

The default is causing problems. I understand the default logic but since you want to auto execute this, you would not see the results of the default anyway. So is removing the default an option? You could add the other parameters in the task logic itself.


Forum|alt.badge.img+3
  • Author
  • 53 replies
  • April 16, 2024

Yes, I have disabled Default and removed the other parameters. Indeed, with auto execute they are useless :-)

But still the task doesn't execute.

The task is a start point for a process flow (as you can see in my model extract), could that be a problem?


Forum|alt.badge.img+17
  • Moderator
  • 761 replies
  • April 25, 2024

When you say it still doesn't work, did you test this against the SF using universal gui? Or do you mean from the scanner using IAM? I got this to work on your model by deactivating the default. 


Forum|alt.badge.img+3
  • Author
  • 53 replies
  • April 25, 2024

Against IAM, with the scanner connected as a keyboard. And it happens on multiple computers.

If there is no working solution we have to deal with an extra mouse click / manual tab to execute the task.


Forum|alt.badge.img+17
  • Moderator
  • 761 replies
  • April 26, 2024

But it does work when testing against the SF on the desktop?


Forum|alt.badge.img+17
  • Moderator
  • 761 replies
  • Answer
  • May 2, 2024

We found a problem with the barcode scanning. 

The barcode scanner should auto commit the task if it's the last field. This does not work if the task is started from a tile menu. And this also does not work from a table task if the connection is too slow. 

Since this will be investigated by a TCP ticket I will close this topic. 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings