Error in Contract extraction for now assist in CM Pro

Codi
Tera Contributor

Hi everyone,

We are currently activating the contract metadata extraction skill for CM pro but upon testing we encounter error message "The metadata extraction has failed. Please contact your system administrator." when we click the Initiate metadata extraction button. May I ask if anyone encounter the same issue and if you can share on how to fix it.

 

Thank you in Advance 

Codi_0-1785222577433.png

 

1 REPLY 1

sanjaygupta
Tera Guru
The error message is generic, so it doesn’t tell you which step failed. In your screenshot the button is on a contract record (CNTR), not a contract request. For that case the documentation has a specific setup step, so I’d check the use case mapping first.

For the Contract metadata extraction skill, the setup needs three things: a use case with its fields, the use case mapping, and notifications. The release notes (Australia Patch 1) add that for signed contracts uploaded directly on a contract record, the Contracts created from contract request check box must be cleared on the use case mapping. If your mapping is still tied to contract requests, the extraction can’t pick up the contract record.

  • Go to All > Now Assist Admin > Skills and open Employee > CM Pro.
  • Open the Contract metadata extraction skill and go to the use case mapping step.
  • Open the mapping for your contract table.
  • Clear the Contracts created from contract request check box and save.
  • Confirm a use case exists with the metadata fields you want extracted, and that it is mapped.
  • In the Define access page, save, then check the skill shows as active on the Review and activate page.

If the error continues, these are the next things to confirm.

What to check where:
Your user has the sn_cm_gen_ai.ai_contract_fulfiller roleUser record > Roles
The Now Assist in Contract Management plugin (sn_cm_gen_ai) is installedAll > System Applications > All Available Applications > All
A signed contract document is attached to the contract recordContract documents tab
The skill is active and not showing errorsNow Assist Admin > Skills

If it still fails, look at Now Assist Admin logs and the system log at the time of the click, as they usually give the actual reason. Test in a sub-production instance first.

Hope you found it helpful.

Sources: