Skip to main content
April 18, 2024
Solved

Classify documents data in the interface

  • April 18, 2024
  • 5 replies
  • 1 view

Hi Community,

I created a AL model and am using classify documents smart service but I need to show that data in interface. 

with out classify document smart service do we have any function in the Interface 

    Best answer by shubhama926776

    [mention:e1f38339f5254c84af299fc34f8b6f1c:e9ed411860ed4f2ba0265705b8793d05] 
    You can think of this approach as follows:
    1. Create a task for the user to provide functionality to upload the document they want to classify with chaining.
    2. Call an asynchronous process to classify those documents and store the results in the database.
    3. The main process (with chaining) should navigate to the interface where you want to display the output.
    4. Provide a clickable button or set a refresh interval locally to pull that data from the database.

    5 replies

    mikes0011
    Brainy
    April 18, 2024

    Right now the Classify Document capability is only available via the smart service (process) node.  What is your use case exactly?

    April 18, 2024

    is this run in backend by using 

    I want to show the type of the document in the interface how can i do that
     ))

    a!startProcess(
                      processModel: cons!AS_PM_CLASSIFY_DOCUMENTS,
                      processParameters: {
                        documents:ri!document
                      },
                      onSuccess: a!save(
                        local!documentType,
                        fv!processInfo.pv.AboveThreshold
                      )
                    ))

    April 18, 2024

    I understood that classify documents smart service will not run in the backend. As it wont support the Activity Chaining. I want to show to output of the Classify Documents in the Interface please help me