I am calling external web service using Nintex workflow which will generate ticket number in response.
My requirement is to display ticket number in confirmation message page/Form.
What is the best way to do it.
Also when I set "Configure List Form WebPart Confirmation Message" to true and publish, I am not getting below screen after creating new item..
Do I have to configure something to get this below screen.
Solved! Go to Solution.
The option "Configure List Form WebPart Confirmation Message" works only when you add the form on a SharePoint page with Nintex Forms List Form web part. Is it your case?
Thanks for your reply.
The workflow will add generated ticket number in the same item(ticket column).
When I redirect to custom page eg Page.aspx?id=[ID], [ID] is coming as null as my page redirect before the item gets created.
Can we query last created ltem's ticket no on custom page using jquery, instead of passing id as query string.I am thinking to set some delay on custom page after redirection. But ticket no may not be correct one if many users submit item same time
Sure, you can query the last created item by the current user using jquery.
It's easier to display the item's list using a view which displays only the items created by the current user and ordered by creation date (descending).
But if you prefer retrieving the last created item by the current user using jquery, I can help you performing that.
I am performing this action on public site where anonymous users also submit the request. In this case current user will be null/blank.
I was trying to pass random key (generating using jquery) in query string and save the same value in one of its item's column.
But there is no option to pass variable in Redirect URL.
OK, it's more complicated with Anonymous users.
Unfortunately you cannot add form variables or named control in redirect url. But you can vote for this idea : Add Workflow variable tab to Redirect URL Insert reference field – Customer Feedback for Nintex
I think that you can only display the last items created with the title and the generated number in a list view web part and the user will be able to see the item he's just created by identifying it with the title. If in the form the user populates his email address, you can send the generated number by email in the workflow and in the confirmation message you can add text which would say that the user will soon receive an email with the identifier of his demand.
Hope this helps
Another idea came to me : you can use the random key that you've generated and stored in the item's column in the session storage :
Then in the redirected page (which should be in the same site), you can get this random key to retrieve the corresponding item :
var idGen = sessionStorage.getItem('createdItemCustomID');
Hope this helps