Asking for input from within a process

Description

It is possible to ask for a boolean from within a process via processUI.ask(String, Callback).
However, we needed a solution to ask for a input string (e. g. the TAN during a SEPA transaction), rather than a boolean. So i implemented the askForInput(String, Callback) method. Now it is possible to ask for booleans and strings.

Environment

None

Activity

Show:
Nicolas Micoud
May 16, 2014, 2:33 PM

Hi,

This is exactly what i was looking for !
Juste tested the web part and it works like a charm !

Thanks,

Regards,

Nicolas

Carlos Ruiz
May 16, 2014, 3:48 PM

Thanks for the contribution, and thanks for the testing.

I integrated with development branch.

I'm attaching a sample usage class with BankTransfer.java for documentation purposes - please notice the timeout implementation to avoid long locks

Regards,

Carlos Ruiz

Assignee

Jan Thielemann

Reporter

Jan Thielemann

Labels

Tested By

Nicolas Micoud

Components

Affects versions

Priority

Minor
Configure