Sign In   Register
  Thursday, 23 September 2021
  3 Replies
  130 Visits
0
Votes
Undo
  Subscribe
Hi,

I'm using TxnUpdater to set the receipt status to 'Ready' using this Groovy code:

new TxnUpdater(relatedTransaction).setFormStatus(Txn.FORM_COMPLETED).setReceiptStatusReady().update()

It behaves mostly as expected.
The system sets the Receipt status to 'Receipt Render Pending', then 'Receipt Render in Progress', then 'Delivery Ready'.
Once the status is 'Delivery Ready' the system runs the delivery function and it processes the submission.

However, the 'ReceiptNumber' is blank.

How do I ensure that the 'Receipt Number Service' runs when I set the receipt status to ready?
When we submit the same form normally, the receipt number is generated as expected.

Thanks
Mark
1 month ago
·
#14262
Accepted Answer
0
Votes
Undo
Thanks for the feedback.

I've raised a service desk ticket as requested.
TSR-170613

Thanks
Mark
Mark Murray selected the reply #14262 as the answer for this post — 1 month ago
1 month ago
·
#14262
Accepted Answer
0
Votes
Undo
Thanks for the feedback.

I've raised a service desk ticket as requested.
TSR-170613

Thanks
Mark
1 month ago
·
#14260
0
Votes
Undo
Please help.
1 month ago
·
#14257
0
Votes
Undo
According to the Transaction Processing Sequence the events are as follows:

- submit form XML
- execute 'Submission Preprocessor' service
- execute 'Receipt Number' service
- execute 'Submission Data Validator' service
- execute 'Job Controller' service
- execute 'Submission Completed Processor' service
- execute 'Receipt Render' service
- execute 'Delivery Process' service

So, it seems that if I use Groovy code to 'setReceiptStatusReady' it may not trigger the full sequence of events above.

The options for 'setFormStatus only have Saved, Completed, Abandoned.
How do I use Groovy code to set the status as 'Completed', and run the receiptNumber service to generate a receipt number?

Thanks
Mark
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!

Q&A Forum - Tips

The purpose of the Temenos Journey Manager platform (TJM) Q&A forum is for all clients and partners to seek help...

Read More

Not a member?

Register to ask a question and access to more content.

Join now

Looking for something else?

You can request access to:

  • Courses
  • Full Release Notes
  • Product Downloads
  • SDK

Request access

Leader Board

1
Mark Murray
User's Points: 1360
2
Lin Vanoevelen
User's Points: 1046
3
Julio Berrueco Pinto
User's Points: 715
4
Matthew White
User's Points: 386
5
Chad Thomas
User's Points: 300