import React, { ReactElement, useEffect } from 'react';
import Head from 'next/head'
import DatePicker from "react-datepicker";
import "react-datepicker/dist/react-datepicker.css";
import dayjs from "dayjs";
import {useAppDispatch, useAppSelector} from "../../stores/hooks";
import {useRouter} from "next/router";
import { fetch } from '../../stores/identity_workflows/identity_workflowsSlice'
import {saveFile} from "../../helpers/fileSaver";
import dataFormatter from '../../helpers/dataFormatter';
import ImageField from "../../components/ImageField";
import LayoutAuthenticated from "../../layouts/Authenticated";
import {getPageTitle} from "../../config";
import SectionTitleLineWithButton from "../../components/SectionTitleLineWithButton";
import SectionMain from "../../components/SectionMain";
import CardBox from "../../components/CardBox";
import BaseButton from "../../components/BaseButton";
import BaseDivider from "../../components/BaseDivider";
import {mdiChartTimelineVariant} from "@mdi/js";
import {SwitchField} from "../../components/SwitchField";
import FormField from "../../components/FormField";

import {hasPermission} from "../../helpers/userPermissions";


const Identity_workflowsView = () => {
    const router = useRouter()
    const dispatch = useAppDispatch()
    const { identity_workflows } = useAppSelector((state) => state.identity_workflows)
    
    const { currentUser } = useAppSelector((state) => state.auth);
    

    const { id } = router.query;
    
    function removeLastCharacter(str) {
      console.log(str,`str`)
      return str.slice(0, -1);
    }

    useEffect(() => {
        dispatch(fetch({ id }));
    }, [dispatch, id]);


    return (
      <>
          <Head>
              <title>{getPageTitle('View identity_workflows')}</title>
          </Head>
          <SectionMain>
            <SectionTitleLineWithButton icon={mdiChartTimelineVariant} title={removeLastCharacter('View identity_workflows')} main>
                <BaseButton
                  color='info'
                  label='Edit'
                  href={`/identity_workflows/identity_workflows-edit/?id=${id}`}
                />
            </SectionTitleLineWithButton>
            <CardBox>
            

              

              

              

              

              

              

              

              

              

              
                {hasPermission(currentUser, 'READ_ORGANIZATIONS') && 
                <div className={'mb-4'}>
                    <p className={'block font-bold mb-2'}>Organization</p>
                    
                    
                    
                    
                    
                    
                    
                    
                        <p>{identity_workflows?.organization?.name ?? 'No data'}</p>
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                </div>
                  } 
              

              

              

              
              

              
                <div className={'mb-4'}>
                    <p className={'block font-bold mb-2'}>WorkflowName</p>
                    <p>{identity_workflows?.workflow_name}</p>
                </div>
              

              

              

              

              

              

              

              

              

              

              

              

              
              

              

              

              

              

              

              

              

              
                <div className={'mb-4'}>
                    <p className={'block font-bold mb-2'}>WorkflowType</p>
                    <p>{identity_workflows?.workflow_type ?? 'No data'}</p>
                </div>
              

              

              

              

              

              
              

              

              
                <FormField label='Multi Text' hasTextareaHeight>
                  <textarea className={'w-full'} disabled value={identity_workflows?.description} />
                </FormField>
              

              

              

              

              

              

              

              

              

              

              

              
              

              

              

              

              

              

              

              

              
                <div className={'mb-4'}>
                    <p className={'block font-bold mb-2'}>RiskLevel</p>
                    <p>{identity_workflows?.risk_level ?? 'No data'}</p>
                </div>
              

              

              

              

              

              
              

              

              

              

              

              

              

              

              
                <div className={'mb-4'}>
                    <p className={'block font-bold mb-2'}>OwnerRole</p>
                    <p>{identity_workflows?.owner_role ?? 'No data'}</p>
                </div>
              

              

              

              

              

              
              

              

              

              

              

              

              

              

              
                <div className={'mb-4'}>
                    <p className={'block font-bold mb-2'}>SourceTriggerType</p>
                    <p>{identity_workflows?.source_trigger_type ?? 'No data'}</p>
                </div>
              

              

              

              

              

              
              

              

              

              

              

              

              

              

              
                <div className={'mb-4'}>
                    <p className={'block font-bold mb-2'}>Status</p>
                    <p>{identity_workflows?.status ?? 'No data'}</p>
                </div>
              

              

              

              

              

              
              

              

              

              

              

              

              

              

              
                <div className={'mb-4'}>
                    <p className={'block font-bold mb-2'}>RecurrenceType</p>
                    <p>{identity_workflows?.recurrence_type ?? 'No data'}</p>
                </div>
              

              

              

              

              

              
              

              

              

              

              
                <div className={'mb-4'}>
                  <p className={'block font-bold mb-2'}>TargetSLAHours</p>
                  <p>{identity_workflows?.target_sla_hours || 'No data'}</p>
                </div>
              

              

              

              

              

              

              

              

              

              
              

              

              
                <FormField label='Multi Text' hasTextareaHeight>
                  <textarea className={'w-full'} disabled value={identity_workflows?.coverage_gap_notes} />
                </FormField>
              

              

              

              

              

              

              

              

              

              

              

              
              

              

              

              

              

              

              

              

              

              

              

              
                <>
                    <p className={'block font-bold mb-2'}>LinkedSystems</p>
                    <CardBox
                      className='mb-6 border border-gray-300 rounded overflow-hidden'
                      hasTable
                    >
                        <div className='overflow-x-auto'>
                            <table>
                            <thead>
                            <tr>
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                    <th>SystemName</th>
                                
                                
                                
                                    <th>SystemType</th>
                                
                                
                                
                                    <th>Vendor</th>
                                
                                
                                
                                    <th>Environment</th>
                                
                                
                                
                                    <th>Owner</th>
                                
                                
                                
                                    <th>ConnectionStatus</th>
                                
                                
                                
                                    <th>LastSuccessfulSyncAt</th>
                                
                                
                                
                                    <th>ConnectionHealthNotes</th>
                                
                                
                                
                                    <th>SourceofTruthFlag</th>
                                
                                
                                
                                    <th>Notes</th>
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                            </tr>
                            </thead>
                            <tbody>
                            {identity_workflows.linked_systems && Array.isArray(identity_workflows.linked_systems) &&
                              identity_workflows.linked_systems.map((item: any) => (
                                <tr key={item.id} onClick={() => router.push(`/connected_systems/connected_systems-view/?id=${item.id}`)}>
                                  
                                    
                                    
                                    
                                    
                                    
                                  
                                    
                                    
                                    
                                    <td data-label="system_name">
                                        { item.system_name }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="system_type">
                                        { item.system_type }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="vendor">
                                        { item.vendor }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="environment">
                                        { item.environment }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="owner">
                                        { item.owner }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="connection_status">
                                        { item.connection_status }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="last_successful_sync_at">
                                        { dataFormatter.dateTimeFormatter(item.last_successful_sync_at) }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="connection_health_notes">
                                        { item.connection_health_notes }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="source_of_truth_flag">
                                        { dataFormatter.booleanFormatter(item.source_of_truth_flag) }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="notes">
                                        { item.notes }
                                    </td>
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                </tr>
                              ))}
                            </tbody>
                        </table>
                        </div>
                        {!identity_workflows?.linked_systems?.length && <div className={'text-center py-4'}>No data</div>}
                    </CardBox>
                </>
              

              

              
              

              

              

              

              

              

              

              

              

              

              

              
                <>
                    <p className={'block font-bold mb-2'}>LinkedControls</p>
                    <CardBox
                      className='mb-6 border border-gray-300 rounded overflow-hidden'
                      hasTable
                    >
                        <div className='overflow-x-auto'>
                            <table>
                            <thead>
                            <tr>
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                    <th>ControlCode</th>
                                
                                
                                
                                    <th>ControlFamily</th>
                                
                                
                                
                                    <th>ControlTitle</th>
                                
                                
                                
                                    <th>ControlDescription</th>
                                
                                
                                
                                    <th>EvidenceExpectationSummary</th>
                                
                                
                                
                                    <th>ActiveFlag</th>
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                            </tr>
                            </thead>
                            <tbody>
                            {identity_workflows.linked_controls && Array.isArray(identity_workflows.linked_controls) &&
                              identity_workflows.linked_controls.map((item: any) => (
                                <tr key={item.id} onClick={() => router.push(`/control_requirements/control_requirements-view/?id=${item.id}`)}>
                                  
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                  
                                    
                                    
                                    
                                    <td data-label="control_code">
                                        { item.control_code }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="control_family">
                                        { item.control_family }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="control_title">
                                        { item.control_title }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="control_description">
                                        { item.control_description }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="evidence_expectation_summary">
                                        { item.evidence_expectation_summary }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="active_flag">
                                        { dataFormatter.booleanFormatter(item.active_flag) }
                                    </td>
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                </tr>
                              ))}
                            </tbody>
                        </table>
                        </div>
                        {!identity_workflows?.linked_controls?.length && <div className={'text-center py-4'}>No data</div>}
                    </CardBox>
                </>
              

              

              
              

                
                
                
                
                
                
                
                
                
                
                <>
                    <p className={'block font-bold mb-2'}>Evidence_models Workflow</p>
                    <CardBox
                      className='mb-6 border border-gray-300 rounded overflow-hidden'
                      hasTable
                    >
                        <div className='overflow-x-auto'>
                            <table>
                            <thead>
                            <tr>
                                
                                
                                
                                
                                
                                
                                
                                
                                <th>EvidenceClaim</th>
                                
                                
                                
                                
                                
                                <th>ArtifactType</th>
                                
                                
                                
                                <th>RequiredFields</th>
                                
                                
                                
                                <th>ApprovalRequiredFlag</th>
                                
                                
                                
                                <th>RetentionPeriod</th>
                                
                                
                                
                                <th>EvidenceStrength</th>
                                
                                
                                
                                <th>CollectionMethod</th>
                                
                                
                                
                                <th>Notes</th>
                                
                                
                            </tr>
                            </thead>
                            <tbody>
                            {identity_workflows.evidence_models_workflow && Array.isArray(identity_workflows.evidence_models_workflow) &&
                              identity_workflows.evidence_models_workflow.map((item: any) => (
                                <tr key={item.id} onClick={() => router.push(`/evidence_models/evidence_models-view/?id=${item.id}`)}>
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    <td data-label="evidence_claim">
                                        { item.evidence_claim }
                                    </td>
                                    
                                    
                                    
                                    
                                    
                                    <td data-label="artifact_type">
                                        { item.artifact_type }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="required_fields">
                                        { item.required_fields }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="approval_required_flag">
                                        { dataFormatter.booleanFormatter(item.approval_required_flag) }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="retention_period">
                                        { item.retention_period }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="evidence_strength">
                                        { item.evidence_strength }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="collection_method">
                                        { item.collection_method }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="notes">
                                        { item.notes }
                                    </td>
                                    
                                    
                                </tr>
                              ))}
                            </tbody>
                        </table>
                        </div>
                        {!identity_workflows?.evidence_models_workflow?.length && <div className={'text-center py-4'}>No data</div>}
                    </CardBox>
                </>
                
                
                <>
                    <p className={'block font-bold mb-2'}>Artifacts Workflow</p>
                    <CardBox
                      className='mb-6 border border-gray-300 rounded overflow-hidden'
                      hasTable
                    >
                        <div className='overflow-x-auto'>
                            <table>
                            <thead>
                            <tr>
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                <th>ArtifactName</th>
                                
                                
                                
                                <th>ArtifactType</th>
                                
                                
                                
                                <th>ArtifactReference</th>
                                
                                
                                
                                
                                
                                <th>CollectedAt</th>
                                
                                
                                
                                <th>EventTimestamp</th>
                                
                                
                                
                                <th>SubjectUser</th>
                                
                                
                                
                                
                                
                                <th>Status</th>
                                
                                
                                
                                <th>ValidationNotes</th>
                                
                                
                                
                                <th>EvidenceStrengthScore</th>
                                
                                
                                
                                <th>ChainIntegrityScore</th>
                                
                                
                                
                                <th>RetentionExpiry</th>
                                
                                
                                
                                <th>Tags</th>
                                
                                
                                
                                
                            </tr>
                            </thead>
                            <tbody>
                            {identity_workflows.artifacts_workflow && Array.isArray(identity_workflows.artifacts_workflow) &&
                              identity_workflows.artifacts_workflow.map((item: any) => (
                                <tr key={item.id} onClick={() => router.push(`/artifacts/artifacts-view/?id=${item.id}`)}>
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    <td data-label="artifact_name">
                                        { item.artifact_name }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="artifact_type">
                                        { item.artifact_type }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="artifact_reference">
                                        { item.artifact_reference }
                                    </td>
                                    
                                    
                                    
                                    
                                    
                                    <td data-label="collected_at">
                                        { dataFormatter.dateTimeFormatter(item.collected_at) }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="event_timestamp">
                                        { dataFormatter.dateTimeFormatter(item.event_timestamp) }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="subject_user">
                                        { item.subject_user }
                                    </td>
                                    
                                    
                                    
                                    
                                    
                                    <td data-label="status">
                                        { item.status }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="validation_notes">
                                        { item.validation_notes }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="evidence_strength_score">
                                        { item.evidence_strength_score }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="chain_integrity_score">
                                        { item.chain_integrity_score }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="retention_expiry">
                                        { dataFormatter.dateTimeFormatter(item.retention_expiry) }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="tags">
                                        { item.tags }
                                    </td>
                                    
                                    
                                    
                                    
                                </tr>
                              ))}
                            </tbody>
                        </table>
                        </div>
                        {!identity_workflows?.artifacts_workflow?.length && <div className={'text-center py-4'}>No data</div>}
                    </CardBox>
                </>
                
                
                <>
                    <p className={'block font-bold mb-2'}>Sampled_subjects Workflow</p>
                    <CardBox
                      className='mb-6 border border-gray-300 rounded overflow-hidden'
                      hasTable
                    >
                        <div className='overflow-x-auto'>
                            <table>
                            <thead>
                            <tr>
                                
                                
                                
                                
                                <th>SampleType</th>
                                
                                
                                
                                <th>DisplayName</th>
                                
                                
                                
                                <th>Identifier</th>
                                
                                
                                
                                <th>Department</th>
                                
                                
                                
                                <th>Role</th>
                                
                                
                                
                                <th>Manager</th>
                                
                                
                                
                                <th>EventDate</th>
                                
                                
                                
                                <th>RiskTier</th>
                                
                                
                                
                                
                                
                                <th>Status</th>
                                
                                
                                
                                <th>Notes</th>
                                
                                
                            </tr>
                            </thead>
                            <tbody>
                            {identity_workflows.sampled_subjects_workflow && Array.isArray(identity_workflows.sampled_subjects_workflow) &&
                              identity_workflows.sampled_subjects_workflow.map((item: any) => (
                                <tr key={item.id} onClick={() => router.push(`/sampled_subjects/sampled_subjects-view/?id=${item.id}`)}>
                                    
                                    
                                    
                                    
                                    <td data-label="sample_type">
                                        { item.sample_type }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="display_name">
                                        { item.display_name }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="identifier">
                                        { item.identifier }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="department">
                                        { item.department }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="role_name">
                                        { item.role_name }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="manager">
                                        { item.manager }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="event_date">
                                        { dataFormatter.dateTimeFormatter(item.event_date) }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="risk_tier">
                                        { item.risk_tier }
                                    </td>
                                    
                                    
                                    
                                    
                                    
                                    <td data-label="status">
                                        { item.status }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="notes">
                                        { item.notes }
                                    </td>
                                    
                                    
                                </tr>
                              ))}
                            </tbody>
                        </table>
                        </div>
                        {!identity_workflows?.sampled_subjects_workflow?.length && <div className={'text-center py-4'}>No data</div>}
                    </CardBox>
                </>
                
                
                <>
                    <p className={'block font-bold mb-2'}>Proof_packets Workflow</p>
                    <CardBox
                      className='mb-6 border border-gray-300 rounded overflow-hidden'
                      hasTable
                    >
                        <div className='overflow-x-auto'>
                            <table>
                            <thead>
                            <tr>
                                
                                
                                
                                
                                <th>PacketName</th>
                                
                                
                                
                                <th>PacketType</th>
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                <th>PacketStatus</th>
                                
                                
                                
                                <th>ReadinessScore</th>
                                
                                
                                
                                <th>GeneratedOn</th>
                                
                                
                                
                                <th>DueDate</th>
                                
                                
                                
                                <th>Summary</th>
                                
                                
                                
                                
                                
                                
                            </tr>
                            </thead>
                            <tbody>
                            {identity_workflows.proof_packets_workflow && Array.isArray(identity_workflows.proof_packets_workflow) &&
                              identity_workflows.proof_packets_workflow.map((item: any) => (
                                <tr key={item.id} onClick={() => router.push(`/proof_packets/proof_packets-view/?id=${item.id}`)}>
                                    
                                    
                                    
                                    
                                    <td data-label="packet_name">
                                        { item.packet_name }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="packet_type">
                                        { item.packet_type }
                                    </td>
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    <td data-label="packet_status">
                                        { item.packet_status }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="readiness_score">
                                        { item.readiness_score }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="generated_on">
                                        { dataFormatter.dateTimeFormatter(item.generated_on) }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="due_date">
                                        { dataFormatter.dateTimeFormatter(item.due_date) }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="summary">
                                        { item.summary }
                                    </td>
                                    
                                    
                                    
                                    
                                    
                                    
                                </tr>
                              ))}
                            </tbody>
                        </table>
                        </div>
                        {!identity_workflows?.proof_packets_workflow?.length && <div className={'text-center py-4'}>No data</div>}
                    </CardBox>
                </>
                
                
                <>
                    <p className={'block font-bold mb-2'}>Remediation_items LinkedWorkflow</p>
                    <CardBox
                      className='mb-6 border border-gray-300 rounded overflow-hidden'
                      hasTable
                    >
                        <div className='overflow-x-auto'>
                            <table>
                            <thead>
                            <tr>
                                
                                
                                
                                
                                <th>Title</th>
                                
                                
                                
                                <th>Description</th>
                                
                                
                                
                                <th>Severity</th>
                                
                                
                                
                                <th>Category</th>
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                <th>DueDate</th>
                                
                                
                                
                                <th>Status</th>
                                
                                
                                
                                <th>RemediationPlan</th>
                                
                                
                                
                                <th>CompletedAt</th>
                                
                                
                            </tr>
                            </thead>
                            <tbody>
                            {identity_workflows.remediation_items_linked_workflow && Array.isArray(identity_workflows.remediation_items_linked_workflow) &&
                              identity_workflows.remediation_items_linked_workflow.map((item: any) => (
                                <tr key={item.id} onClick={() => router.push(`/remediation_items/remediation_items-view/?id=${item.id}`)}>
                                    
                                    
                                    
                                    
                                    <td data-label="title">
                                        { item.title }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="description">
                                        { item.description }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="severity">
                                        { item.severity }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="category">
                                        { item.category }
                                    </td>
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    <td data-label="due_date">
                                        { dataFormatter.dateTimeFormatter(item.due_date) }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="status">
                                        { item.status }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="remediation_plan">
                                        { item.remediation_plan }
                                    </td>
                                    
                                    
                                    
                                    <td data-label="completed_at">
                                        { dataFormatter.dateTimeFormatter(item.completed_at) }
                                    </td>
                                    
                                    
                                </tr>
                              ))}
                            </tbody>
                        </table>
                        </div>
                        {!identity_workflows?.remediation_items_linked_workflow?.length && <div className={'text-center py-4'}>No data</div>}
                    </CardBox>
                </>
                
                
                
                
                
                
                
                
                
                

                <BaseDivider />

                <BaseButton
                    color='info'
                    label='Back'
                    onClick={() => router.push('/identity_workflows/identity_workflows-list')}
                />
              </CardBox>
          </SectionMain>
      </>
    );
};

Identity_workflowsView.getLayout = function getLayout(page: ReactElement) {
    return (
      <LayoutAuthenticated
        
        permission={'READ_IDENTITY_WORKFLOWS'}
        
      >
          {page}
      </LayoutAuthenticated>
    )
}

export default Identity_workflowsView;