Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Should we use Portal webform to implement a multi-user process ?

(0) ShareShare
ReportReport
Posted on by

We have customer onboarding process that requires the customer to enter and upload some data.

After creation of a record, a background process starts, depending on the outcome, the customer needs to update the existing data or add additional data.

The web form functionality examples that I have seen, do not demonstrate a "waiting for the background process to finish scenario" .

I am asking this question because when we try implementing this flow using web form we get the following error:

Error500ThreadAborted.PNG

The log has a message that tells us that a System.Threading.ThreadAbortException (it just takes too long)

When we look in the web form session entity, we can see the following steps:

{"ID":"de6d443e-923c-e811-a954-000d3a3099e5","Index":0,
"IsActive":null,"PreviousStepID":"00000000-0000-0000-0000-000000000000",
"ReferenceEntity":{"ID":"a6e86f52-c73c-e811-a822-00155dd3eaf1","LogicalName":"eof_chatbotbuilder",
"PrimaryKeyLogicalName":"eof_chatbotbuilderid"}},
{"ID":"9fefbf32-a03c-e811-a954-000d3a30db97","Index":1,"IsActive":true,"PreviousStepID":"de6d443e-923c-e811-a954-000d3a3099e5",
"ReferenceEntity":{"ID":"a6e86f52-c73c-e811-a822-00155dd3eaf1","LogicalName":"eof_chatbotbuilder","PrimaryKeyLogicalName":"eof_chatbotbuilderid"}},
{"ID":"2622c42d-c43c-e811-a954-000d3a30db97","Index":2,"IsActive":true,"PreviousStepID":"9fefbf32-a03c-e811-a954-000d3a30db97",
"ReferenceEntity":{"ID":"00000000-0000-0000-0000-000000000000","LogicalName":"eof_chatbotbuilder",
"PrimaryKeyLogicalName":"eof_chatbotbuilderid"}}]

The strange part is that the referenceEntity id is 0000 in step 2, where it is populated with the expected value in previous steps.

The first step is an insert step

The second step is a condition

The third step (index:2, which causes this issue) is the the result of the condition when the condition fails...

So I was thinking I could show a "please wait and come back" screen for this state and when the users opens the item from the list, the condition is re-evaluated , but right now I cannot get into the third step.

When I change the condition (so that it is always true) we do get into the next step (add additional information) and there also the referenceEntity id is 0000 , so I am not sure if this tells us anything.

When I remove the condition and point (always) to the third step, the web form works. So there is something in the handling of the condition that maybe causes a loop (we are on the same entity) ?

*This post is locked for comments

  • TomWinton Profile Picture
    5 on at
    RE: Should we use Portal webform to implement a multi-user process ?

    In case anyone's interested 2 years later..

    It fails because it is looking for a referenced Step that doesn't exist. Technicaly this can either be the Previous Step which is unlikely as I think it's a largely redundant field (could be wrong) or the Entity Source Step - more likely.

    It's easy to miss this in the UI.

  • Philipp Lwn Profile Picture
    on at
    RE: Should we use Portal webform to implement a multi-user process ?

    Hello,

    I get the same error "Step History didn't contain data with ID = 00000000-0000-0000-0000-000000000000." when the first step is condition. Is there any news on the problem?

    Regards

    Philipp

  • Community Member Profile Picture
    on at
    RE: Should we use Portal webform to implement a multi-user process ?

    I am trying a different approach, where I start a webform with a conditional step, but than I get another error: Step History didn't contain data with ID = 00000000-0000-0000-0000-000000000000. Can someone confirm that the first step in a webform should NOT be a conditional step ?

  • Community Member Profile Picture
    on at
    RE: Should we use Portal webform to implement a multi-user process ?

    This is de conditioanl step. I played with the condition (as stated above) and so the check works.

    The enduser uploads a spreadsheet which is validated in a background process. Only when the spreadsheet is valid, the web form process should continu to gather more information. Otherwise (condition fails) the user needs to upload a new one. CaptureConditionalStep.PNG

  • RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Should we use Portal webform to implement a multi-user process ?

    Can you share a screenshot of you condition step?

  • Community Member Profile Picture
    on at
    RE: Should we use Portal webform to implement a multi-user process ?

    <added content to the main question>

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans