Hexaware Appian Interview Experience
- Type
- Technical
- Difficulty
- Medium
Questions Asked
- Explain Task Lock functionality in Appian. Where and why is it used?
- What are the different ways to create a CDT (Custom Data Type)?
- Write an expression to remove vowels from a string (using stripwith).
- Given an input n, return a list {n, n-1, ..., 1}.
- Example: n = 5 → {5, 4, 3, 2, 1}
- Explain API Keys and Service Accounts. When would you use each?
- What are the different authentication methods supported by Appian Web APIs?
- If an error occurs in a queryEntity rule, what could be the possible reasons?
- Explain your project and the major challenges you faced.
- How do you optimize a database view used in Appian?
- Explain CDT vs Record Type in detail, including performance, use cases, and limitations.
- What are the general Appian best practices you follow?
- What are the process model best practices?
- Explain queryRecordType() vs queryRecordByIdentifier()—differences and use cases.
- What are the key features from the latest Appian release?
- Explain the difference between End Node and End Node with Terminate Process:
- End Node: Ends only the current execution path; other parallel paths continue.
- End Node + Terminate Process: Immediately stops the entire process instance, including all active tasks and subprocesses.
- When would you use each?
- What are the different ways to start a process model in Appian?
- How many Appian objects can be configured in a Site (Pages)? What are the limits and best practices?
- How can an external system access an Appian interface?
- How would you validate the file extension in Appian so that the validation applies across all objects or the entire application? (Hexaware – critical interview question)
Practice this interview
Answer each question in your head first, then open the guide and mark how you did.
Explain API Keys and Service Accounts. When would you use each?
How to answer
- A service account is a non-human Appian user created in the Admin Console. It cannot log in interactively.
- An API key is generated in the Admin Console, tied to one service account, and sent by the caller in a request header to Appian Web APIs.
- Permissions come from the service account's group memberships, so the key only reaches what those groups can access.
- Use one service account per integrating system, with least-privilege groups.
Tip: Mention key rotation and revoking a key without touching other integrations.
Explain CDT vs Record Type in detail, including performance, use cases, and limitations.
How to answer
- A CDT is an XSD-based structure used for process variables, integration payloads and nested data, written with Write to Data Store Entity and read with a!queryEntity.
- A record type adds data sync, record relationships, record-level security, custom record fields, record actions and views, written with Write Records.
- Synced records query faster and support aggregations, but have row limits and need sync scheduling.
- CDT changes need data store republishing and careful versioning.
Tip: Explain why you still used CDTs in a recent project.
Explain queryRecordType() vs queryRecordByIdentifier()—differences and use cases.
How to answer
- a!queryRecordType takes filters, a pagingInfo that also holds the sort, and fields that can define aggregations. It returns a set of records, plus a total count when fetchTotalCount is true.
- a!queryRecordByIdentifier returns one record by its identifier, with chosen fields and related record data.
- Both respect record-level security, so a user without access gets no data back.
- Use the identifier version for summary views and detail pages, and the query version for grids, reports and KPIs.
Tip: Never call a!queryRecordByIdentifier inside a!forEach. Use one a!queryRecordType with an "in" filter instead.
Explain Task Lock functionality in Appian. Where and why is it used?
How to answer
- When a task is assigned to a group or several users, one user accepts it and it becomes assigned only to them. Other users can no longer complete it.
- The user can return the task to the group, and process administrators can reassign it if the assignee is unavailable.
- This prevents duplicate submissions and conflicting data updates in shared work queues.
- Design queues so stale accepted tasks are visible and can be escalated or reassigned.
Tip: Do not confuse this with design object locking in Appian Designer. Clarify which one the interviewer means.
Explain the difference between End Node and End Node with Terminate Process:
How to answer
- A regular End Event ends only the path that reaches it. Other active paths, such as parallel branches or open user tasks, keep running.
- An End Event set to terminate stops the whole process instance at once and cancels all active nodes and open tasks.
- In a subprocess, terminate ends only that subprocess instance. The parent continues.
- The process completes normally either way. Neither is an error state.
Tip: Explain when you used terminate, for example a cancel or reject path after a parallel gateway.
Explain your project and the major challenges you faced.
How to answer
- Give the business context, users, scale, team size and your exact role, such as lead, architect or reviewer.
- Summarize the architecture: record types, process models, integrations, security groups and data design.
- Pick one or two challenges and use the STAR format: situation, task, action, result.
- Quantify outcomes, such as load time reduced or manual effort saved.
Tip: Choose a technical challenge you personally solved. Avoid blaming others or describing only team effort.
How can an external system access an Appian interface?
How to answer
- Embedded interfaces let an external web page show Appian interfaces, using the Appian JavaScript and an authenticated session.
- Appian Portals publish interfaces to public users who have no Appian account.
- Users can also open a site or record URL directly, often through SAML single sign-on.
- Web APIs expose data and actions to other systems, not the interface itself.
Tip: Clarify early whether the external party needs UI or data. Candidates often answer with Web APIs only.
How do you optimize a database view used in Appian?
How to answer
- Index the columns used in joins, filters and sorting. Read the execution plan to find full table scans.
- Select only the columns you need. Avoid nested views, unnecessary joins and functions on columns in WHERE clauses.
- For heavy aggregations, consider a summary table refreshed on a schedule.
- In Appian, pass filters and paging to a!queryRecordType or a!queryEntity so the database does the work. Give the view a unique key column.
Tip: Mention that a synced record type reads the whole view during sync, so large views affect sync time.
How many Appian objects can be configured in a Site (Pages)? What are the limits and best practices?
How to answer
- Site pages can show an interface, a record type list, a report, or a process model as an action.
- Pages can be grouped into page groups. The page limit depends on version, so quote the documented number for your version.
- Control page visibility with expressions based on group membership, and secure the Site object itself.
- Keep pages task-focused and reuse interfaces across Sites.
Tip: Explain how you split a busy Site into page groups or role-based Sites in a real project.
How would you validate the file extension in Appian so that the validation applies across all objects or the entire application? (Hexaware – critical interview question)
How to answer
- Build one reusable expression rule that compares the file extension against an allowed list.
- Store the allowed extensions in a constant.
- Call the rule from the validations parameter of a!fileUploadField, using fv!files and its extension property.
- Wrap a!fileUploadField in a shared interface component so every form uses the same check. Use the environment-wide file extension restriction setting in the Admin Console as a backstop.
Tip: Say that form validation only protects that form. Also check files that arrive through web APIs or process inputs.
If an error occurs in a queryEntity rule, what could be the possible reasons?
How to answer
- The data store entity constant points to the wrong entity, or the data store is unpublished or out of sync with the CDT.
- The field names in a!queryFilter or a!sortInfo do not match the CDT, or the operator does not fit the data type.
- Paging is missing or the batch size is too large, null filter values are passed, or the query times out.
- The table or view changed in the database, or the user lacks access to the data store.
Tip: Mention that new designs should use a!queryRecordType instead.
What are the different authentication methods supported by Appian Web APIs?
How to answer
- Basic authentication sends a username and password, so use a dedicated integration user rather than a personal account.
- API keys are created in the Admin Console and mapped to a service account.
- OAuth 2.0 client credentials are configured as OAuth clients in the Admin Console.
- Calls from a logged-in Appian session use that user's context. Web API object security also controls who can call the API.
Tip: Explain the least-privilege groups you gave integration accounts, and why you avoided personal accounts.
What are the different ways to create a CDT (Custom Data Type)?
How to answer
- Create a new data type in Appian Designer and define fields, types and JPA annotations manually.
- Generate one from an existing database table or view through a connected data source.
- Import an XSD file to build a CDT from an external schema.
- Data types can also be generated when a web service WSDL is configured.
Tip: As a senior, mention that synced record types now often replace CDTs for new data models.
What are the different ways to start a process model in Appian?
How to answer
- User-driven: record actions, site or Tempo actions, and a!startProcessLink from an interface.
- Programmatic: a!startProcess in a saveInto or Web API, and the Start Process smart service.
- Event-driven: start event timers for scheduled runs and message events for external triggers.
- From another process: a subprocess node, synchronous or asynchronous.
Tip: Explain when you chose a!startProcess over a subprocess, such as triggering from an interface without blocking the user.
What are the general Appian best practices you follow?
How to answer
- Design: application prefixes, naming conventions, constants instead of hardcoded values, reusable expression rules and interface components.
- Performance: a!queryRecordType with paging, no queries inside a!forEach loops, and careful use of activity chaining.
- Process hygiene: archive or delete completed processes, and keep process variables small.
- Governance: group-based security, test cases on expression rules, Health Check reviews.
Tip: Pair each practice with a project example where skipping it caused a real problem.
What are the key features from the latest Appian release?
How to answer
- Read the release notes for the current version before the interview. Appian releases several times a year.
- Group features by area: AI such as AI Copilot, data fabric and record type improvements, and process insight through Process HQ.
- For one or two features, explain the problem they solve and where you would use them.
Tip: Do not guess version numbers or feature names. Say honestly which features you have used and which you have only read about.
What are the process model best practices?
How to answer
- Keep process variables few and small, and pass record IDs instead of large data sets.
- Break logic into reusable subprocesses and use a!startProcess or the Start Process smart service where asynchronous work fits.
- Configure data management so completed instances are archived or deleted promptly, and set up alerts for errors.
- Limit activity chaining and multiple node instances, and use clear node names and model descriptions.
Tip: Mention reviewing Health Check findings on high memory process models from a real project.
Write an expression to remove vowels from a string (using stripwith).
How to answer
- stripwith(text, with) removes every character listed in the second argument from the first.
- The answer is stripwith(ri!input, "aeiouAEIOU"), which covers both cases because the match is case sensitive.
- Mention keepwith() as the opposite function, which keeps only the listed characters.
- Guard null input with a!isNullOrEmpty() when the value comes from a form or integration.
Tip: The common mistake is listing only lowercase vowels, so say why you added the uppercase ones.